with_access_token#

OIDCSessionBuilder.with_access_token(access_token)#

Use a provided access token to authenticate the session.

This method configures a session with the provided access token, if the token is invalid, or has expired, the session will be unable to authenticate.

Parameters:
access_tokenstr

Access token.

Returns:
ApiClientFactory

Original client factory object.

Added in version 2.2.3: ..