Crate oxide_auth_actix

Crate oxide_auth_actix 

Source
Expand description

Bindings and utilities for creating an oauth endpoint with actix.

Use the provided methods to use code grant methods in an asynchronous fashion, or use an AsActor<_> to create an actor implementing endpoint functionality via messages.

Structs§

Authorize
Authorization-related operations
ClientCredentials
Client Credentials related operations
OAuthMessage
A message type to easily send OAuthOperations to an actor
OAuthRequest
Type implementing WebRequest as well as FromRequest for use in route handlers
OAuthResource
Type implementing WebRequest as well as FromRequest for use in guarding resources
OAuthResponse
Type implementing WebResponse and Responder for use in route handlers
Refresh
Refresh-related operations
Resource
Resource-related operations
Token
Token-related operations

Enums§

WebError
The error type for Oxide Auth operations

Traits§

OAuthOperation
Describes an operation that can be performed in the presence of an Endpoint