Function getIssAudAndUidVal

  • Parses a JWT and returns the 'iss', 'aud', and 'uid' values.

    Parameters

    • args: {
          jwt: string;
          uidKey?: string;
      }

      The arguments for parsing the JWT.

      • jwt: string

        The JWT to parse.

      • OptionaluidKey?: string

        The key to use for the 'uid' value; defaults to 'sub'.

    Returns {
        aud: string;
        iss: string;
        uidVal: string;
    }

    The 'iss', 'aud', and 'uid' values from the JWT.

    • aud: string
    • iss: string
    • uidVal: string