Package com.okta.jwt

Interface AccessTokenVerifier.Builder

All Superinterfaces:
VerifierBuilderSupport<AccessTokenVerifier.Builder,AccessTokenVerifier>
All Known Implementing Classes:
JjwtAccessTokenVerifierBuilder
Enclosing interface:
AccessTokenVerifier

public static interface AccessTokenVerifier.Builder extends VerifierBuilderSupport<AccessTokenVerifier.Builder,AccessTokenVerifier>
Builder interface used to simplify construction of a AccessTokenVerifier.
  • Method Details

    • setAudience

      AccessTokenVerifier.Builder setAudience(String audience)
      Sets the audience the verifier will expect. Default implementation, uses "api://default" as the default value.
      Parameters:
      audience - Audience
      Returns:
      a reference to the current builder for use in method chaining