Class SpringDocOAuth2TokenIntrospection

java.lang.Object
org.springdoc.security.oauth2.SpringDocOAuth2TokenIntrospection
All Implemented Interfaces:
org.springframework.security.oauth2.core.ClaimAccessor, org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor

public class SpringDocOAuth2TokenIntrospection extends Object implements org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
Author:
bnasslahsen
  • Constructor Details

    • SpringDocOAuth2TokenIntrospection

      public SpringDocOAuth2TokenIntrospection()
  • Method Details

    • getClaims

      public Map<String,Object> getClaims()
      Specified by:
      getClaims in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaim

      public <T> T getClaim(String claim)
      Specified by:
      getClaim in interface org.springframework.security.oauth2.core.ClaimAccessor
    • hasClaim

      public boolean hasClaim(String claim)
      Specified by:
      hasClaim in interface org.springframework.security.oauth2.core.ClaimAccessor
    • containsClaim

      public Boolean containsClaim(String claim)
      Specified by:
      containsClaim in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaimAsString

      public String getClaimAsString(String claim)
      Specified by:
      getClaimAsString in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaimAsBoolean

      public Boolean getClaimAsBoolean(String claim)
      Specified by:
      getClaimAsBoolean in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaimAsInstant

      public Instant getClaimAsInstant(String claim)
      Specified by:
      getClaimAsInstant in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaimAsURL

      public URL getClaimAsURL(String claim)
      Specified by:
      getClaimAsURL in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaimAsMap

      public Map<String,Object> getClaimAsMap(String claim)
      Specified by:
      getClaimAsMap in interface org.springframework.security.oauth2.core.ClaimAccessor
    • getClaimAsStringList

      public List<String> getClaimAsStringList(String claim)
      Specified by:
      getClaimAsStringList in interface org.springframework.security.oauth2.core.ClaimAccessor
    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getUsername

      public String getUsername()
      Specified by:
      getUsername in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getClientId

      public String getClientId()
      Specified by:
      getClientId in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getScopes

      public List<String> getScopes()
      Specified by:
      getScopes in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getTokenType

      public String getTokenType()
      Specified by:
      getTokenType in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getExpiresAt

      public Instant getExpiresAt()
      Specified by:
      getExpiresAt in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getIssuedAt

      public Instant getIssuedAt()
      Specified by:
      getIssuedAt in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getNotBefore

      public Instant getNotBefore()
      Specified by:
      getNotBefore in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getSubject

      public String getSubject()
      Specified by:
      getSubject in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getAudience

      public List<String> getAudience()
      Specified by:
      getAudience in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getIssuer

      public URL getIssuer()
      Specified by:
      getIssuer in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor
    • getId

      public String getId()
      Specified by:
      getId in interface org.springframework.security.oauth2.core.OAuth2TokenIntrospectionClaimAccessor