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

Hierarchy

  • ClientAssertion

Constructors

Methods

  • Update JWT for certificate based clientAssertion, if passed by the user, uses it as is

    Parameters

    • cryptoProvider: CryptoProvider

      library's crypto helper

    • issuer: string

      iss claim

    • jwtAudience: string

      aud claim

    Returns string

  • 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

    Deprecated

    Use fromCertificateWithSha256Thumbprint instead, with a SHA-256 thumprint Initialize the ClientAssertion class from the certificate passed by the user

  • 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

  • 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