pub fn authorization_code_grant(self) -> AccessTokenGrant {
        AccessTokenGrant {
            oauth: self.oauth,
            grant: GrantType::AuthorizationCode,
        }
    }
/// Create a new instance for authorization code grant.
///
/// # See
/// [Authorization Code Grant for OAuth 2.0](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow)
///
/// # Example
/// ```
/// # use graph_oauth::oauth::OAuth;
/// # let mut oauth = OAuth::new();
/// let open_id = oauth.build().authorization_code_grant();
/// ```
Create a new instance for authorization code grant.
Create a new instance for authorization code grant .
pub fn authorization_code_grant(self) -> AccessTokenGrant {
        AccessTokenGrant {
            oauth: self.oauth,
            grant: GrantType::AuthorizationCode,
        }
    }
pub fn authorization_code_grant ( self ) -> AccessTokenGrant { AccessTokenGrant { oauth : self . oauth , grant : GrantType :: AuthorizationCode , } }
Create a new instance for authorization code grant.
Create a new instance for authorization code grant .
self
self
see
[Authorization Code Grant for OAuth 2.0]
[ Authorization Code Grant for OAuth 2 . 0 ]
example
None
use graph_oauth::oauth::oauth;
None
let mut oauth = oauth::new();
let open_id = oauth.build().authorization_code_grant();
```
let open_id = oauth . build () . authorization_code_grant () ; ` ` `