OIDCSessionBuilder#
- class OIDCSessionBuilder(client_factory, session_factory=None)#
Helps create OpenID Connect sessions and provides OIDC-specific configuration options.
- Parameters:
- client_factory
ApiClientFactory
Parent API client factory object that will be returned once configuration is complete.
- session_factory
OIDCSessionFactory
,optional
OIDC session factory object that will be configured and used to return an OAuth-supporting session.
- client_factory
Methods
OIDCSessionBuilder.authorize
([login_timeout])Authenticate the user interactively by opening a web browser and waiting for the user to log in.
Use a token stored in the system keyring to authenticate the session.
OIDCSessionBuilder.with_token
(refresh_token)Use a provided refresh token to authenticate the session.