org.keycloak.authorization.protection.introspect

## Class RPTIntrospectionProvider

- java.lang.Object
- - org.keycloak.protocol.oidc.AccessTokenIntrospectionProvider
  - - org.keycloak.authorization.protection.introspect.RPTIntrospectionProvider

- All Implemented Interfaces:
    TokenIntrospectionProvider, Provider

      public class RPTIntrospectionProvider
      extends AccessTokenIntrospectionProvider

  Introspects token accordingly with UMA Bearer Token Profile.
  Author:
    Pedro Igor

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected static org.jboss.logging.Logger` | `LOGGER`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RPTIntrospectionProvider(KeycloakSession session)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()`
    `javax.ws.rs.core.Response` | `introspect(String token)` Introspect the `token`.

    - ### Methods inherited from class org.keycloak.protocol.oidc.AccessTokenIntrospectionProvider

      `toAccessToken`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### LOGGER

          protected static final org.jboss.logging.Logger LOGGER

  - ### Constructor Detail

    - #### RPTIntrospectionProvider

          public RPTIntrospectionProvider(KeycloakSession session)

  - ### Method Detail

    - #### introspect

          public javax.ws.rs.core.Response introspect(String token)

      Description copied from interface: `TokenIntrospectionProvider`
      Introspect the `token`.
      Specified by:
        `introspect` in interface `TokenIntrospectionProvider`
      Overrides:
        `introspect` in class `AccessTokenIntrospectionProvider`
      Parameters:
        `token` - the token to introspect.
      Returns:
        the response with the information about the token

    - #### close

          public void close()

      Specified by:
        `close` in interface `Provider`
      Overrides:
        `close` in class `AccessTokenIntrospectionProvider`

Copyright © 2016 JBoss by Red Hat. All rights reserved.