Interface SvidCredentialProvider.Builder

  • Method Details

    • audiences

      The intended recipient of the web identity token. This value populates the aud claim in the JWT and should identify the service or application that will validate and use the token. The external service should verify this claim to ensure the token was intended for their use. Currently, you can specify only one audience.

      Parameters:
      audiences - The intended recipient of the web identity token. This value populates the aud claim in the JWT and should identify the service or application that will validate and use the token. The external service should verify this claim to ensure the token was intended for their use. Currently, you can specify only one audience.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audiences

      SvidCredentialProvider.Builder audiences(String... audiences)

      The intended recipient of the web identity token. This value populates the aud claim in the JWT and should identify the service or application that will validate and use the token. The external service should verify this claim to ensure the token was intended for their use. Currently, you can specify only one audience.

      Parameters:
      audiences - The intended recipient of the web identity token. This value populates the aud claim in the JWT and should identify the service or application that will validate and use the token. The external service should verify this claim to ensure the token was intended for their use. Currently, you can specify only one audience.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signingAlgorithm

      SvidCredentialProvider.Builder signingAlgorithm(String signingAlgorithm)

      The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid values:

      • RS256 - RSA with SHA-256

      • ES384 - ECDSA using the P-384 curve with SHA-384

      Parameters:
      signingAlgorithm - The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid values:

      • RS256 - RSA with SHA-256

      • ES384 - ECDSA using the P-384 curve with SHA-384

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • signingAlgorithm

      SvidCredentialProvider.Builder signingAlgorithm(SvidSigningAlgorithm signingAlgorithm)

      The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid values:

      • RS256 - RSA with SHA-256

      • ES384 - ECDSA using the P-384 curve with SHA-384

      Parameters:
      signingAlgorithm - The cryptographic algorithm to use for signing the JSON Web Token (JWT). Valid values:

      • RS256 - RSA with SHA-256

      • ES384 - ECDSA using the P-384 curve with SHA-384

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: