matrix-js-sdk

    Function validateIdToken

    • Parameters

      • idToken: undefined | string

        id token from token endpoint

      • issuer: string

        issuer for the OP as found during discovery

      • clientId: string

        this client's id as registered with the OP

      • nonce: undefined | string

        nonce used in the authentication request

      Returns void

      when id token is invalid

    MMNEPVFCICPMFPCPTTAAATR