with_refresh_token#

OIDCSessionBuilder.with_refresh_token(refresh_token)#

Use a provided refresh token to authenticate the session.

The refresh token will be used to request a new access token from the Identity Provider, this will be automatically refreshed shortly before expiration.

Parameters:
refresh_tokenstr

Refresh token.

Returns:
ApiClientFactory

Original client factory object.

Added in version 2.2.3: ..