ClientSigning | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias ClientSigning

    ClientSigning:
        | { secret: string; secretId?: string; type: "client_secret" }
        | {
            algorithm: "ES256";
            jwtParams: JWTPayload;
            keyId: string;
            privateKey: string;
            type: "private_key_jwt";
        }

    Stores a client secret configuration

    Type declaration

    • { secret: string; secretId?: string; type: "client_secret" }
      • secret: string

        The actual secret given by the server

      • OptionalsecretId?: string

        Secret ID (provided by Microsoft)

      • type: "client_secret"

        Type

    • {
          algorithm: "ES256";
          jwtParams: JWTPayload;
          keyId: string;
          privateKey: string;
          type: "private_key_jwt";
      }
      • algorithm: "ES256"

        Algorithm to use

      • jwtParams: JWTPayload

        JWT Token values to use

      • keyId: string

        Key ID (provided by the server)

      • privateKey: string

        Private key

      • type: "private_key_jwt"

        Type