Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimpleAuthenticationDetailsProvider

The API based authentication details provider which implements AuthenticationDetailsProvider.

Hierarchy

  • SimpleAuthenticationDetailsProvider

Implements

Constructors

constructor

  • new SimpleAuthenticationDetailsProvider(tenancy: string, user: string, fingerprint: string, privateKey: string, passphrase: string | null, region?: Region, authType?: string | undefined, delegationToken?: string | undefined, profileCredentials?: ConfigAccumulator | undefined): SimpleAuthenticationDetailsProvider

Properties

Private Optional authType

authType: string | undefined

Private Optional delegationToken

delegationToken: string | undefined

Private fingerprint

fingerprint: string

user's fingerprint.

Private passphrase

passphrase: string | null

the passphrase of private key.

Private privateKey

privateKey: string

private key to sign the request.

Private Optional profileCredentials

profileCredentials: ConfigAccumulator | undefined

Private provider

provider: AuthenticationDetailsProvider = (null as unknown) as AuthenticationDetailsProvider

Private Optional region

region: Region

Private tenancy

tenancy: string

tenancy id.

Private user

user: string

user id.

Methods

getAuthType

  • getAuthType(): string | undefined

getDelegationToken

  • getDelegationToken(): string | undefined

getFingerprint

  • getFingerprint(): string

getKeyId

  • getKeyId(): Promise<string>

getPassphrase

  • getPassphrase(): string | null

getPrivateKey

  • getPrivateKey(): string

getProfileCredentials

getProvider

getRegion

getTenantId

  • getTenantId(): string

getUser

  • getUser(): string

setProvider