MsGraphAuthProvider Class

Definition

Caution

This class is deprecated. Please use TokenCredential to create Graph client instead. If auth provider is required, please use IAuthenticationProvider from Microsoft.Kiota.Abstractions.Authentication.

Microsoft Graph auth provider for Teams Framework.

[System.Obsolete("This class is deprecated. Please use TokenCredential to create Graph client instead. If auth provider is required, please use IAuthenticationProvider from Microsoft.Kiota.Abstractions.Authentication.", false)]
public class MsGraphAuthProvider : Microsoft.Kiota.Abstractions.Authentication.IAuthenticationProvider
[<System.Obsolete("This class is deprecated. Please use TokenCredential to create Graph client instead. If auth provider is required, please use IAuthenticationProvider from Microsoft.Kiota.Abstractions.Authentication.", false)>]
type MsGraphAuthProvider = class
    interface IAuthenticationProvider
Public Class MsGraphAuthProvider
Implements IAuthenticationProvider
Inheritance
MsGraphAuthProvider
Attributes
Implements
Microsoft.Kiota.Abstractions.Authentication.IAuthenticationProvider

Constructors

MsGraphAuthProvider(TokenCredential, String, ILogger<MsGraphAuthProvider>)
Obsolete.

Constructor of MsGraphAuthProvider.

MsGraphAuthProvider(TokenCredential, String[], ILogger<MsGraphAuthProvider>)
Obsolete.

Constructor of MsGraphAuthProvider.

Methods

AuthenticateRequestAsync(RequestInformation, Dictionary<String,Object>, CancellationToken)
Obsolete.

Authenticates the specified request message.

GetAccessTokenAsync()
Obsolete.

Get access token for Microsoft Graph API requests.

Applies to