pub fn resource_owner_password_credentials(self) -> AccessTokenGrant {
        AccessTokenGrant {
            oauth: self.oauth,
            grant: GrantType::ResourceOwnerPasswordCredentials,
        }
    }
/// Create a new instance for the resource owner password credentials grant.
///
/// # See
/// [Microsoft Resource Owner Password Credentials](https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth-ropc)
///
/// # Example
/// ```
/// # use graph_oauth::oauth::OAuth;
/// # let mut oauth = OAuth::new();
/// let open_id = oauth.build().resource_owner_password_credentials();
/// ```
Create a new instance for the resource owner password credentials grant.
Create a new instance for the resource owner password credentials grant .
pub fn resource_owner_password_credentials(self) -> AccessTokenGrant {
        AccessTokenGrant {
            oauth: self.oauth,
            grant: GrantType::ResourceOwnerPasswordCredentials,
        }
    }
pub fn resource_owner_password_credentials ( self ) -> AccessTokenGrant { AccessTokenGrant { oauth : self . oauth , grant : GrantType :: ResourceOwnerPasswordCredentials , } }
Create a new instance for the resource owner password credentials grant.
Create a new instance for the resource owner password credentials grant .
self
self
see
[Microsoft Resource Owner Password Credentials]
[ Microsoft Resource Owner Password Credentials ]
example
None
use graph_oauth::oauth::oauth;
None
let mut oauth = oauth::new();
let open_id = oauth.build().resource_owner_password_credentials();
```
let open_id = oauth . build () . resource_owner_password_credentials () ; ` ` `