EnterpriseChannelValidation Class
- java.
lang. Object - com.
microsoft. bot. connector. authentication. EnterpriseChannelValidation
- com.
public final class EnterpriseChannelValidation
Enterprise channel auth validation.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
java.util.concurrent.CompletableFuture<Claims |
authenticateToken(String authHeader, CredentialProvider credentials, ChannelProvider channelProvider, String serviceUrl, String channelId)
Validate the incoming Auth Header as a token sent from a Bot Framework Channel Service. |
|
static
java.util.concurrent.CompletableFuture<Claims |
authenticateToken(String authHeader, CredentialProvider credentials, ChannelProvider channelProvider, String serviceUrl, String channelId, AuthenticationConfiguration authConfig)
Validate the incoming Auth Header as a token sent from a Bot Framework Channel Service. |
|
static
java.util.concurrent.CompletableFuture<Claims |
validateIdentity(ClaimsIdentity identity, CredentialProvider credentials, String serviceUrl)
Validates a ClaimsIdentity. |
Methods inherited from java.lang.Object
Method Details
authenticateToken
public static CompletableFuture
Validate the incoming Auth Header as a token sent from a Bot Framework Channel Service.
Parameters:
Returns:
On join:
authenticateToken
public static CompletableFuture
Validate the incoming Auth Header as a token sent from a Bot Framework Channel Service.
Parameters:
Returns:
validateIdentity
public static CompletableFuture
Validates a ClaimsIdentity.
Parameters:
Returns:
On join: