exception documentation

class UnsupportedTokenTypeError(SDKError): (source)

Constructor: UnsupportedTokenTypeError(token_type)

View In Hierarchy

Raised when the token exchange returned a non-Bearer token.

Method __init__ Initialize the error.
def __init__(self, token_type: str): (source) ΒΆ

Initialize the error.

Parameters
token_type:strThe token type string received from the server.