Options
All
  • Public
  • Public/Protected
  • All
Menu

Client assertion of type jwt-bearer used in confidential client flows

Hierarchy

  • ClientAssertion

Index

Constructors

constructor

Methods

getJwt

  • getJwt(cryptoProvider: CryptoProvider, issuer: string, jwtAudience: string): string

Static fromAssertion

Static fromCertificate

  • fromCertificate(thumbprint: string, privateKey: string, publicCertificate?: string): ClientAssertion
  • Initialize the ClientAssertion class from the certificate passed by the user

    Parameters

    • thumbprint: string

      identifier of a certificate

    • privateKey: string

      secret key

    • Optional publicCertificate: string

      electronic document provided to prove the ownership of the public key

    Returns ClientAssertion

Static parseCertificate

  • parseCertificate(publicCertificate: string): string[]
  • Extracts the raw certs from a given certificate string and returns them in an array.

    Parameters

    • publicCertificate: string

      electronic document provided to prove the ownership of the public key

    Returns string[]

Generated using TypeDoc