Response Type

from aioauth import responses

Response objects used throughout the project.


class ResponseTypeBase(storage: TStorage)[source]

Base response type that all other exceptions inherit from.

async validate_request(request: TRequest) Client[source]
class ResponseTypeToken(storage: TStorage)[source]

Response type that contains a token.

async create_authorization_response(request: TRequest, client: Client) TokenResponse[source]
class ResponseTypeAuthorizationCode(storage: TStorage)[source]

Response type that contains an authorization code.

async create_authorization_response(request: TRequest, client: Client) AuthorizationCodeResponse[source]
class ResponseTypeIdToken(storage: TStorage)[source]
async validate_request(request: TRequest) Client[source]
async create_authorization_response(request: TRequest, client: Client) IdTokenResponse[source]
class ResponseTypeNone(storage: TStorage)[source]
async create_authorization_response(request: TRequest, client: Client) NoneResponse[source]