Microsoft.Bot.Connector.Authentication Namespace

Classes

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/en-us/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

MicrosoftAppCredentials.OAuthException

Represents an OAuth exception.

MicrosoftAppCredentials.OAuthResponse

Describes the structure of an OAuth access token response.

MicrosoftGovernmentAppCredentials

MicrosoftGovernmentAppCredentials auth implementation

SimpleChannelProvider
SimpleCredentialProvider

A simple implementation of the ICredentialProvider interface.

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.