Class BaseOpenIdResolver

java.lang.Object
org.forgerock.oauth.resolvers.BaseOpenIdResolver
All Implemented Interfaces:
GenericOpenIdResolver<SignedJwt>, OpenIdResolver
Direct Known Subclasses:
JWKOpenIdResolverImpl, PublicKeyOpenIdResolverImpl, SharedSecretOpenIdResolverImpl

public abstract class BaseOpenIdResolver extends Object implements OpenIdResolver
Implementation of the OpenIdResolver interface. Comments in the specific verify methods are taken directly from OpenID Connect Basic Client Implementer's Guide 1.0, section 2.2.1 - ID Token Validation Currently we do NO validation against the client ID/intended audience.
See Also:
  • Constructor Details

    • BaseOpenIdResolver

      public BaseOpenIdResolver(String issuer)
      Abstract constructor for setting the issuer's identity. Uses IssuerComparators.DEFAULT for comparing issuer values by exact string comparison.
      Parameters:
      issuer - The issuer (provider) of the Open Id Connect id token
    • BaseOpenIdResolver

      public BaseOpenIdResolver(BiPredicate<String,String> issuerComparator, String issuer)
      Abstract constructor for setting the issuer's identity.
      Parameters:
      issuerComparator - The comparator for comparing the incoming issuer value against the expected value.
      issuer - The issuer (provider) of the Open Id Connect id token
  • Method Details