Interface IAuthProvider
The Authentication interface.
Namespace: Microsoft.Bot.Builder.Enterprise.Authentication
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public interface IAuthProvider
Properties
View SourceClientId
Gets the AAD Client Id for the bot.
Declaration
string ClientId { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceGetTokenAsApplicationAsync()
Gets the Access token as application used for S2S communication.
Declaration
Task<string> GetTokenAsApplicationAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.String> | The azure token for authentication. |