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)aioauth.models.Client[source]ΒΆ
class ResponseTypeToken(storage: TStorage)[source]ΒΆ

Response type that contains a token.

async create_authorization_response(request: TRequest, client: aioauth.models.Client)aioauth.responses.TokenResponse[source]ΒΆ
class ResponseTypeAuthorizationCode(storage: TStorage)[source]ΒΆ

Response type that contains an authorization code.

async create_authorization_response(request: TRequest, client: aioauth.models.Client)aioauth.responses.AuthorizationCodeResponse[source]ΒΆ
class ResponseTypeIdToken(storage: TStorage)[source]ΒΆ
async validate_request(request: TRequest)aioauth.models.Client[source]ΒΆ
async create_authorization_response(request: TRequest, client: aioauth.models.Client)aioauth.responses.IdTokenResponse[source]ΒΆ
class ResponseTypeNone(storage: TStorage)[source]ΒΆ
async create_authorization_response(request: TRequest, client: aioauth.models.Client)aioauth.responses.NoneResponse[source]ΒΆ