Show / Hide Table of Contents

Class OnBehalfOfMsGraphAuthenticationProvider

AAD delegated authentication provider.

Inheritance
object
OnBehalfOfMsGraphAuthenticationProvider
Implements
IAuthenticationProvider
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.GNS.Roster.Web
Assembly: Microsoft.GNS.Roster.Web.dll
Syntax
public class OnBehalfOfMsGraphAuthenticationProvider : IAuthenticationProvider

Constructors

View Source

OnBehalfOfMsGraphAuthenticationProvider(ITokenAcquisition, IOptions<MicrosoftGraphOptions>)

Initializes a new instance of the OnBehalfOfMsGraphAuthenticationProvider class.

Declaration
public OnBehalfOfMsGraphAuthenticationProvider(ITokenAcquisition tokenAcquisition, IOptions<MicrosoftGraphOptions> graphApiOptions)
Parameters
Type Name Description
ITokenAcquisition tokenAcquisition

Interface to get a user token.

IOptions<MicrosoftGraphOptions> graphApiOptions

Graph API options.

Methods

View Source

AuthenticateRequestAsync(HttpRequestMessage)

Handles authenticating a request.

Declaration
public Task AuthenticateRequestAsync(HttpRequestMessage request)
Parameters
Type Name Description
HttpRequestMessage request

HTTP request message.

Returns
Type Description
Task

A task representing the work to authenticate a request.

Implements

IAuthenticationProvider
  • View Source
In this article
Back to top Generated by DocFX