Skip to content

Auth

Classes

Auth

Bases: outline_wiki_api.resources.base.Resources

Auth represents the current API Keys authentication details. It can be used to check that a token is still valid and load the IDs for the current user and team.

Functions

config

Retrieve authentication options

Args:

Returns:

Name Type Description
AuthResponse outline_wiki_api.models.auth.AuthResponse

Response object containing configuration of the authentication service provider for the current authentication session

get_current_team

Retrieve current Team

get_current_user

Retrieve current User

info

Retrieve authentication info

Returns:

Name Type Description
AuthResponse outline_wiki_api.models.auth.AuthResponse

Response object containing the workspace and user info for the current authentication session