Function openid::provider::microsoft::authenticate [−][src]
pub async fn authenticate<C: CompactJson + Claims, P: Provider + Configurable>(
client: &Client<P, C>,
auth_code: &str,
nonce: Option<&str>,
max_age: Option<&Duration>
) -> Result<Token<C>, Error>
Given an auth_code and auth options, request the token, decode, and validate it. This validation is specific to Microsoft OIDC provider, it skips issuer validation.