rhino_health.lib.rest_api.rhino_authenticator#

Module Contents#

Classes#

OauthProvider

Which Oauth Provider are you logging in with

SSOAuthenticationDetails

Dictionary configuration for logging in with SSO

UsernamePasswordAuthenticationDetail

Dictionary configuration for logging into the platform

Attributes#

AuthenticationDetailType

Union[SSOAuthenticationDetails, UsernamePasswordAuthenticationDetail]

class rhino_health.lib.rest_api.rhino_authenticator.OauthProvider#

Bases: enum.Enum

Which Oauth Provider are you logging in with

GOOGLE = 'google'#
OKTA = 'okta'#
class rhino_health.lib.rest_api.rhino_authenticator.SSOAuthenticationDetails#

Bases: typing_extensions.TypedDict

Dictionary configuration for logging in with SSO

sso_access_token: str#

The SSO Access Token, required for most SSO Flows

sso_id_token: str | None#

The ID Token, optional for certain flows

sso_provider: OauthProvider#

Which SSO Provider are you logging in with

sso_client: str | None#

Which SSO Client are you logging in with for client provided SSO Integrations

class rhino_health.lib.rest_api.rhino_authenticator.UsernamePasswordAuthenticationDetail#

Bases: typing_extensions.TypedDict

Dictionary configuration for logging into the platform

email: str#

The email of the account you are logging in with

password: str#

The password of the account you are logging in with, if using password

rhino_health.lib.rest_api.rhino_authenticator.AuthenticationDetailType#

Union[SSOAuthenticationDetails, UsernamePasswordAuthenticationDetail]