Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ClientCertificateCredentialOptions

Package version

Optional parameters for the ClientCertificateCredential class.

Hierarchy

Index

Properties

Optional authorityHost

authorityHost: undefined | string

The authority host to use for authentication requests. The default is "https://login.microsoftonline.com".

Optional sendCertificateChain

sendCertificateChain: undefined | false | true

Option to include x5c header for SubjectName and Issuer name authorization. Set this option to send base64 encoded public certificate in the client assertion header as an x5c claim

Optional tokenCachePersistenceOptions

tokenCachePersistenceOptions: TokenCachePersistenceOptions

To provide a persistence layer to store the credentials, we allow users to optionally specify TokenCachePersistenceOptions for their credential.

This feature is not currently available on Node 8 or earlier versions of Node JS.

This persistence layer uses DPAPI on Windows. On OSX (Darwin) it tries to use the system's Keychain, otherwise if the property allowUnencryptedStorage is set to true, it uses an unencrypted file. On Linux it tries to use the system's Keyring, otherwise if the property allowUnencryptedStorage is set to true, it uses an unencrypted file.

Generated using TypeDoc