@twinfinity/core
    Preparing search index...

    Class OpenIdConnectClient

    Index

    Methods

    • Returns void

    • Provides an access token from the Open ID connect provider.

      Returns a cached value if there's sufficient time left until the access_token expires. If the access_token is about to expire a fresh token is fetched.

      Returns Promise<string>

      access_token from the /token endpoint.

    • Provides an identity token from the Open ID connect provider.

      Returns a cached value if there's sufficient time left until the id_token expires. If the id_token is about to expire a fresh token is fetched.

      Returns Promise<IdentityToken>

      parsed id_token from the /token endpoint.