Microsoft.Bot.Connector.Authentication Namespace

Classes

AdalAuthenticator
AuthenticationConstants

Values and Constants used for Authentication and Authrization by the Bot Framework Protocol.

ChannelValidation
EmulatorValidation

Validates and Examines JWT tokens from the Bot Framework Emulator

EndorsementsRetriever

The endorsements property within each key contains one or more endorsement strings which you can use to verify that the channel ID specified in the channelId property within the Activity object of the incoming request is authentic. More details at: https://docs.microsoft.com/bot-framework/rest-api/bot-framework-rest-connector-authentication

EndorsementsValidator

Contains helper methods for verifying JWT endorsements.

EnterpriseChannelValidation
GovernmentAuthenticationConstants

Values and Constants used for Authentication and Authrization by the Bot Framework Protocol to US Government DataCenters

GovernmentChannelValidation
JwtTokenExtractor
JwtTokenValidation

Contains helper methods for authenticating incoming HTTP requests.

MicrosoftAppCredentials

MicrosoftAppCredentials auth implementation and cache

MicrosoftGovernmentAppCredentials

MicrosoftGovernmentAppCredentials auth implementation

OAuthConfiguration

Configuration for OAuth client credential authentication.

Retry
RetryParams
SimpleChannelProvider
SimpleCredentialProvider

A simple implementation of the ICredentialProvider interface.

ThrottleException
TimeSpanExtensions

Interfaces

IChannelProvider

ChannelProvider interface. This interface allows Bots to provide their own implementation for the configuration parameters to connect to a Bot Framework channel service

ICredentialProvider

CredentialProvider interface. This interface allows Bots to provide their own implementation of what is, and what is not, a valid appId and password. This is useful in the case of multi-tenant bots, where the bot may need to call out to a service to determine if a particular appid/password pair is valid.

For Single Tenant bots (the vast majority) the simple static providers are sufficient.