endpoint_mappings = ( _EndpointMapping(endpoints.AuthenticateEndpoint, "authenticate", ["auth_mode"], False), _EndpointMapping(endpoints.RetrieveUserEndpoint, "retrieve_user", ["auth_mode"], True), _EndpointMapping(endpoints.VerifyEndpoint, "verify", ["auth_mode"], False), _EndpointMapping( endpoints.RefreshEndpoint, "refresh", ["auth_mode", "refresh_token_enabled"], False, ), ) auth_mode_handlers = ( _Handler("authenticate", None, exceptions.AuthenticateNotImplemented(), False), _Handler( "store_refresh_token", ["refresh_token_enabled"], exceptions.RefreshTokenNotImplemented(), False, ), _Handler( "retrieve_refresh_token", ["refresh_token_enabled"], exceptions.RefreshTokenNotImplemented(), False, ), _Handler( "add_scopes_to_payload",
endpoints.AuthenticateEndpoint, "authenticate", ["auth_mode"] ), _EndpointMapping( endpoints.RetrieveUserEndpoint, "retrieve_user", ["auth_mode"] ), _EndpointMapping(endpoints.VerifyEndpoint, "verify", ["auth_mode"]), _EndpointMapping( endpoints.RefreshEndpoint, "refresh", ["auth_mode", "refresh_token_enabled"], ), ) auth_mode_handlers = ( _Handler( "authenticate", None, exceptions.AuthenticateNotImplemented(), False ), _Handler( "store_refresh_token", ["refresh_token_enabled"], exceptions.RefreshTokenNotImplemented(), False, ), _Handler( "retrieve_refresh_token", ["refresh_token_enabled"], exceptions.RefreshTokenNotImplemented(), False, ), _Handler( "add_scopes_to_payload",