Modifier and Type | Method and Description |
---|---|
OnBehalfOfCredentialBuilder |
OnBehalfOfCredentialBuilder.clientSecret(String clientSecret)
Sets the client secret for the authentication.
|
OnBehalfOfCredentialBuilder |
OnBehalfOfCredentialBuilder.pfxCertificate(String certificatePath,
String clientCertificatePassword)
Sets the path and password of the PFX certificate for authenticating to AAD.
|
OnBehalfOfCredentialBuilder |
OnBehalfOfCredentialBuilder.regionalAuthority(RegionalAuthority regionalAuthority)
Specifies either the specific regional authority, or use
RegionalAuthority.AUTO_DISCOVER_REGION to
attempt to auto-detect the region. |
OnBehalfOfCredentialBuilder |
OnBehalfOfCredentialBuilder.sendCertificateChain(boolean sendCertificateChain)
Specifies if the x5c claim (public key of the certificate) should be sent as part of the authentication request
and enable subject name / issuer based authentication.
|
OnBehalfOfCredentialBuilder |
OnBehalfOfCredentialBuilder.tokenCachePersistenceOptions(TokenCachePersistenceOptions tokenCachePersistenceOptions)
Configures the persistent shared token cache options and enables the persistent token cache which is disabled
by default.
|
OnBehalfOfCredentialBuilder |
OnBehalfOfCredentialBuilder.userAssertion(String userAssertion)
Configure the User Assertion Scope to be used for OnBehalfOf Authentication request.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.