AuthenticationConfiguration Class

  • java.lang.Object
    • com.microsoft.bot.connector.authentication.AuthenticationConfiguration

public class AuthenticationConfiguration

General configuration settings for authentication.

Constructor Summary

Constructor Description
AuthenticationConfiguration()

Method Summary

Modifier and Type Method and Description
ClaimsValidator getClaimsValidator()

Access to the ClaimsValidator used to validate the identity claims.

java.util.List<java.lang.String> requiredEndorsements()

Required endorsements for auth.

void setClaimsValidator(ClaimsValidator withClaimsValidator)

Access to the ClaimsValidator used to validate the identity claims.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AuthenticationConfiguration

public AuthenticationConfiguration()

Method Details

getClaimsValidator

public ClaimsValidator getClaimsValidator()

Access to the ClaimsValidator used to validate the identity claims.

Returns:

the ClaimsValidator value if set.

requiredEndorsements

public List requiredEndorsements()

Required endorsements for auth.

Returns:

A List of endorsements.

setClaimsValidator

public void setClaimsValidator(ClaimsValidator withClaimsValidator)

Access to the ClaimsValidator used to validate the identity claims.

Parameters:

withClaimsValidator - the value to set the ClaimsValidator to.

Applies to