Trait oxide_auth::code_grant::frontend::OwnerAuthorizer
[−]
[src]
pub trait OwnerAuthorizer {
type Request: WebRequest;
fn get_owner_authorization(
&self,
_: &mut Self::Request,
_: &PreGrant
) -> Result<(Authentication, <Self::Request as WebRequest>::Response), <Self::Request as WebRequest>::Error>;
}Some instance which can decide the owners approval based on the request.
Associated Types
type Request: WebRequest
The request type handled.
Required Methods
Has the owner granted authorization to the client indicated in the PreGrant?