Interface OAuth20IntrospectionResponseGenerator

All Superinterfaces:
org.springframework.core.Ordered

public interface OAuth20IntrospectionResponseGenerator extends org.springframework.core.Ordered
Since:
7.0.0
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Method Summary

    Modifier and Type
    Method
    Description
    generate(String accessTokenId, OAuth20Token accessToken)
    Generate introspection access token response.
    default int
     
    default boolean
    supports(OAuth20Token accessToken)
    Supports this token.
  • Method Details

    • generate

      OAuth20IntrospectionAccessTokenResponse generate(String accessTokenId, OAuth20Token accessToken)
      Generate introspection access token response.
      Parameters:
      accessTokenId - the access token id
      accessToken - the access token
      Returns:
      the response
    • getOrder

      default int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • supports

      default boolean supports(OAuth20Token accessToken)
      Supports this token.
      Parameters:
      accessToken - the access token
      Returns:
      true /false