com.microsoft.bot.connector.authentication

This package contains the implementation auth classes for com.microsoft.bot.connector.authentication.

Classes

AllowedCallersClaimsValidator

Sample claims validator that loads an allowed list from configuration if presentand checks that requests are coming from allowed parent bots.

AppCredentials

Base abstraction for AAD credentials for auth and caching.

AppCredentialsInterceptor

Token credentials filter for placing a token credential into request headers.

AuthenticationConfiguration

General configuration settings for authentication.

AuthenticationConstants

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

AuthenticationException

Catchall exception for auth failures.

CachingOpenIdMetadataResolver

Maintains a cache of OpenIdMetadata objects.

CertificateAppCredentials

AppCredentials using a certificate.

CertificateAppCredentialsOptions

CertificateAppCredentials Options.

CertificateAuthenticator

A provider of tokens for CertificateAppCredentials.

ChannelValidation

Channel auth validator.

ClaimsIdentity

This is a simple wrapper around for a JWT claims identity.

ClaimsValidator

An abstract class used to validate identity.

CredentialsAuthenticator

An Authenticator using app id and password.

EmulatorValidation

Validates and Examines JWT tokens from the Bot Framework Emulator.

EndorsementsValidator

Verify that the specified endorsement exists on the JWT token.

EnterpriseChannelValidation

Enterprise channel auth validation.

GovernmentAuthenticationConstants

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

GovernmentChannelValidation

Government Channel auth validation.

JwtTokenExtractor

Extracts relevant data from JWT Tokens.

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.

OpenIdMetadataKey

Wrapper to hold Jwk key data.

Retry

Will retry a call for a configurable number of times with backoff.

RetryAfterHelper

Class that contains a helper function to process HTTP 429 Retry-After headers for the CredentialsAuthenticator.

RetryException

Retry exception when the Retry task fails to execute successfully.

RetryParams

State for Retry.

SimpleChannelProvider

A ChannelProvider with in-memory values.

SimpleCredentialProvider

A simple implementation of the CredentialProvider interface.

SkillValidation

Validates JWT tokens sent to and from a Skill.

TokenValidationParameters

Contains a set of parameters that are used when validating a token.

Interfaces

Authenticator

A provider of tokens.

ChannelProvider

ChannelProvider interface.

CredentialProvider

CredentialProvider interface.

OpenIdMetadata

Fetches Jwk data.

OpenIdMetadataResolver

Gets OpenIdMetadata.