Struct telescope::web::services::auth::rpi_cas::RpiCas[][src]

pub struct RpiCas;
Expand description

Zero-Sized struct representing the RPI CAS identity provider

Trait Implementations

The lowercase, one word name of the service. This is used in generating redirect paths and registering the service with actix. It must be unique. Read more

The type of user account represented by this authentication service.

The type used to respond to login requests.

The type used to respond to registration requests.

The type used to respond to account linking requests.

The type of future returned by the login handler.

The type of the future returned by the registration handler.

The type of the future returned by the account linking handler.

The type of future returned by the login authenticated response handler.

The type of future returned by the registration authenticated response handler.

The type of future returned by the registration authenticated response handler.

Actix-web handler for the route that redirects to authentication for login. Guarded by this trait to GET requests. Read more

Actix-web handler for the route that redirects to authentication for account creation (user registration). Guarded by this trait to GET requests. Read more

Actix-web handler for the route that redirects to the authentication provider to link an account. Read more

Actix-web handler for authentication callback to login. Guarded by this trait to GET requests. Read more

Actix-web handler for authentication callback to account creation. Guarded by this trait to GET requests. Read more

Actix-web handler

Get the login path of this service. This is the route in actix that will redirect to the authorization page using the handler function also defined in this trait. Read more

Get the registration path of this service. This is the route in actix that will redirect to the authorization page using the handler also defined by this trait. This is similar to Self::login_path but is for account registration rather than sign in. Read more

The path to link this identity service. This is similar to the other two, but is intended to be used to link an existing account. Read more

The path to unlink this service from the user’s account.

The path for the identity provider to redirect back to after authenticating a user for login. This path is also registered under actix with the authentication callback handler defined by this trait. Read more

The path for the identity provider to redirect back to after authenticating a user for account creation. This path is also registered under actix with the authentication callback handler defined by this trait. Read more

The path to redirect back to after account linking success. This is similar to the login and registration authenticated redirect paths. Read more

Register the necessary actix services to support this identity provider. Read more

Actix-web handler for the route that unlinks an identity service.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more