pub fn open_id_connect(self) -> AccessTokenGrant {
        AccessTokenGrant {
            oauth: self.oauth,
            grant: GrantType::OpenId,
        }
    }
/// Create a new instance for the open id connect grant.
///
/// # See
/// [Microsoft Open ID Connect](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-protocols-oidc)
///
/// # Example
/// ```
/// # use graph_oauth::oauth::OAuth;
/// # let mut oauth = OAuth::new();
/// let open_id = oauth.build().open_id_connect();
/// ```
Create a new instance for the open id connect grant.
Create a new instance for the open id connect grant .
pub fn open_id_connect(self) -> AccessTokenGrant {
        AccessTokenGrant {
            oauth: self.oauth,
            grant: GrantType::OpenId,
        }
    }
pub fn open_id_connect ( self ) -> AccessTokenGrant { AccessTokenGrant { oauth : self . oauth , grant : GrantType :: OpenId , } }
Create a new instance for the open id connect grant.
Create a new instance for the open id connect grant .
self
self
see
[Microsoft Open ID Connect]
[ Microsoft Open ID Connect ]
example
None
use graph_oauth::oauth::oauth;
None
let mut oauth = oauth::new();
let open_id = oauth.build().open_id_connect();
```
let open_id = oauth . build () . open_id_connect () ; ` ` `