Struct graph_oauth::oauth::GrantSelector
source · [−]pub struct GrantSelector<T> { /* private fields */ }
Implementations
Create a new instance for token flow.
See
Microsoft Token Flow Authorizaiton
Example
let open_id = oauth.build().token_flow();
Create a new instance for code flow.
See
Microsoft Code Flow Authorizaiton
Example
let open_id = oauth.build().code_flow();
Create a new instance for authorization code grant.
See
Authorization Code Grant for OAuth 2.0
Example
let open_id = oauth.build().authorization_code_grant();
Create a new instance for the resource owner password credentials grant.
See
Microsoft Resource Owner Password Credentials
Example
let open_id = oauth.build().resource_owner_password_credentials();
Create a new instance for token flow.
See
Microsoft Token Flow Authorizaiton
Example
let open_id = oauth.build().token_flow();
Create a new instance for code flow.
See
Microsoft Code Flow Authorizaiton
Example
let open_id = oauth.build().code_flow();
Create a new instance for authorization code grant.
See
Authorization Code Grant for OAuth 2.0
Example
let open_id = oauth.build().authorization_code_grant();
Create a new instance for the resource owner password credentials grant.
See
Microsoft Resource Owner Password Credentials
Example
let open_id = oauth.build().resource_owner_password_credentials();
Auto Trait Implementations
impl<T> RefUnwindSafe for GrantSelector<T> where
T: RefUnwindSafe,
impl<T> Send for GrantSelector<T> where
T: Send,
impl<T> Sync for GrantSelector<T> where
T: Sync,
impl<T> Unpin for GrantSelector<T> where
T: Unpin,
impl<T> UnwindSafe for GrantSelector<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
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