Class SpringDocOAuth2AuthorizationServerMetadata

java.lang.Object
org.springdoc.security.oauth2.SpringDocOAuth2AuthorizationServerMetadata
All Implemented Interfaces:
org.springframework.security.oauth2.core.ClaimAccessor, org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor

public class SpringDocOAuth2AuthorizationServerMetadata extends Object implements org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
Author:
bnasslahsen
  • Constructor Details

    • SpringDocOAuth2AuthorizationServerMetadata

      public SpringDocOAuth2AuthorizationServerMetadata()
  • 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
    • getIssuer

      public URL getIssuer()
      Specified by:
      getIssuer in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getAuthorizationEndpoint

      public URL getAuthorizationEndpoint()
      Specified by:
      getAuthorizationEndpoint in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getTokenEndpoint

      public URL getTokenEndpoint()
      Specified by:
      getTokenEndpoint in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getTokenEndpointAuthenticationMethods

      public List<String> getTokenEndpointAuthenticationMethods()
      Specified by:
      getTokenEndpointAuthenticationMethods in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getJwkSetUrl

      public URL getJwkSetUrl()
      Specified by:
      getJwkSetUrl in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getScopes

      public List<String> getScopes()
      Specified by:
      getScopes in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getResponseTypes

      public List<String> getResponseTypes()
      Specified by:
      getResponseTypes in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getGrantTypes

      public List<String> getGrantTypes()
      Specified by:
      getGrantTypes in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getTokenRevocationEndpoint

      public URL getTokenRevocationEndpoint()
      Specified by:
      getTokenRevocationEndpoint in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getTokenRevocationEndpointAuthenticationMethods

      public List<String> getTokenRevocationEndpointAuthenticationMethods()
      Specified by:
      getTokenRevocationEndpointAuthenticationMethods in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getTokenIntrospectionEndpoint

      public URL getTokenIntrospectionEndpoint()
      Specified by:
      getTokenIntrospectionEndpoint in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getTokenIntrospectionEndpointAuthenticationMethods

      public List<String> getTokenIntrospectionEndpointAuthenticationMethods()
      Specified by:
      getTokenIntrospectionEndpointAuthenticationMethods in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getClientRegistrationEndpoint

      public URL getClientRegistrationEndpoint()
      Specified by:
      getClientRegistrationEndpoint in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor
    • getCodeChallengeMethods

      public List<String> getCodeChallengeMethods()
      Specified by:
      getCodeChallengeMethods in interface org.springframework.security.oauth2.server.authorization.OAuth2AuthorizationServerMetadataClaimAccessor