Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InstancePrincipalsAuthenticationDetailsProviderBuilder

Hierarchy

Constructors

constructor

Properties

Protected METADATA_SERVICE_BASE_URL

METADATA_SERVICE_BASE_URL: string = "http://169.254.169.254/opc/v2/"

Protected _circuitBreaker

_circuitBreaker: any = new CircuitBreaker({timeout: 10000, // If our function takes longer than 10 seconds, trigger a failureerrorThresholdPercentage: 50, // When 50% of requests fail, trip the circuitresetTimeout: 30000 // After 30 seconds, try again.}).circuit

Protected _federationClient

_federationClient: FederationClient

Protected _federationEndpoint

_federationEndpoint: string = ""

Protected _intermediateCertificateSuppliers

_intermediateCertificateSuppliers: X509CertificateSupplier[]

Protected _leafCertificateSupplier

_leafCertificateSupplier: X509CertificateSupplier

Protected _metadataBaseUrl

_metadataBaseUrl: string = this.METADATA_SERVICE_BASE_URL

Protected _sessionKeySupplier

_sessionKeySupplier: SessionKeySupplier

Protected _tenancyId

_tenancyId: string = ""

Protected region

region: Region

Protected template

template: string = "https://auth.{region}.{secondLevelDomain}"

Accessors

circuitBreaker

federationEndpoint

  • set federationEndpoint(federationEndpoint: string): void

intermediateCertificateSuppliers

leafCertificateSupplier

metadataBaseUrl

  • get metadataBaseUrl(): string
  • set metadataBaseUrl(metadataBaseUrl: string): void

purpose

  • set purpose(purpose: string): void

sessionKeySupplier

tenancyId

  • get tenancyId(): string
  • set tenancyId(tenancyId: string): void

Methods

Protected autoDetectCertificatesUsingMetadataUrl

  • autoDetectCertificatesUsingMetadataUrl(): Promise<void>

Protected autoDetectEndpointUsingMetadataUrl

  • autoDetectEndpointUsingMetadataUrl(): Promise<string>

Protected autoDetectUsingMetadataUrl

  • autoDetectUsingMetadataUrl(): Promise<void>

build

Protected buildProvider

Protected createFederationClient

getMetaDataResourceDetail

getRegion