Struct oauth2_client::authorization_code_grant::authorization_endpoint::AuthorizationEndpoint [−][src]
pub struct AuthorizationEndpoint<'a, SCOPE> where
SCOPE: Scope, {
pub state: Option<State>,
pub code_challenge: Option<(CodeChallenge, CodeChallengeMethod)>,
pub nonce: Option<Nonce>,
// some fields omitted
}
Fields
state: Option<State>
code_challenge: Option<(CodeChallenge, CodeChallengeMethod)>
nonce: Option<Nonce>
Implementations
pub fn new(
provider: &'a dyn ProviderExtAuthorizationCodeGrant<Scope = SCOPE>,
scopes: impl Into<Option<Vec<SCOPE>>>
) -> Self
pub fn set_code_challenge(
&mut self,
code_challenge: CodeChallenge,
code_challenge_method: CodeChallengeMethod
)
Trait Implementations
type ParseResponseOutput = ()
type ParseResponseError = Infallible
fn parse_response(
&self,
_response: Response<Body>
) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>
Auto Trait Implementations
impl<'a, SCOPE> !RefUnwindSafe for AuthorizationEndpoint<'a, SCOPE>
impl<'a, SCOPE> !Send for AuthorizationEndpoint<'a, SCOPE>
impl<'a, SCOPE> !Sync for AuthorizationEndpoint<'a, SCOPE>
impl<'a, SCOPE> Unpin for AuthorizationEndpoint<'a, SCOPE> where
SCOPE: Unpin,
impl<'a, SCOPE> !UnwindSafe for AuthorizationEndpoint<'a, SCOPE>
Blanket Implementations
Mutably borrows from an owned value. Read more