/// <summary> /// Event handler for the requesting access token event. This method can modify the outgoing /// token request before it is sent. /// </summary> /// <param name="sender">Sender of the event.</param> /// <param name="requestingTokenEventArgs">Event arguments.</param> void OAuthClientSettings_RequestingAccessToken(object sender, RequestingAccessTokenEventArgs requestingTokenEventArgs) { requestingTokenEventArgs.AccessTokenRequest.Scope = AzureOAuthConfiguration.RelyingPartyRealm; }
/// <summary> /// Event handler for the requesting access token event. This method can modify the outgoing /// token request before it is sent. /// </summary> /// <param name="sender">Sender of the event.</param> /// <param name="requestingTokenEventArgs">Event arguments.</param> void OAuthClientSettings_RequestingAccessToken(object sender, RequestingAccessTokenEventArgs requestingTokenEventArgs) { requestingTokenEventArgs.AccessTokenRequest.Scope = AzureOAuthConfiguration.RelyingPartyRealm; }