AuthSchemeOption (AWS SDK for Java

AuthSchemeOption (AWS SDK for Java - 2.25.34)
All Superinterfaces:
ToCopyableBuilder<AuthSchemeOption.Builder,AuthSchemeOption>
All Known Implementing Classes:
DefaultAuthSchemeOption

An authentication scheme option, composed of the scheme ID and properties for use when resolving the identity and signing the request.

This is used in the output from the auth scheme resolver. The resolver returns a list of these, in the order the auth scheme resolver wishes to use them.

See Also:
  • Method Details

    • builder

    • schemeId

      Retrieve the scheme ID, a unique identifier for the authentication scheme (aws.auth#sigv4, smithy.api#httpBearerAuth).

    • identityProperty

      Type Parameters:
      T - The type of the IdentityProperty.
      Parameters:
      property - The IdentityProperty to retrieve the value of.
    • signerProperty

      Type Parameters:
      T - The type of the SignerProperty.
      Parameters:
      property - The SignerProperty to retrieve the value of.
    • forEachIdentityProperty

      Parameters:
      consumer - The method to apply to each IdentityProperty.
    • forEachSignerProperty

      A method to operate on all SignerProperty values of this AuthSchemeOption.
      Parameters:
      consumer - The method to apply to each SignerProperty.

You Might Also Like