SamlService#
- class SamlService[source]#
Methods
Get a JWT token for a user after doing a successful launch.
- get_session(*, token, extra_parameters=None)[source]#
Get a JWT token for a user after doing a successful launch.
This method will use various pieces of information from the session from the requested user.
This method can only be used once to retrieve the JWT, as the data will be removed after the first request.
- Parameters:
token (
str
) – The token that we will use to verify that you are the correct owner of the SAML launch. This data will be cross referenced to stored data and your session.extra_parameters (
Optional
[Mapping
[str
,Union
[str
,bool
,int
,float
]]]) – The extra query parameters you might want to add. By default no extra query parameters are added.
- Returns:
A mapping containing one key (access_token).
- Return type: