org.keycloak.services.clientpolicy.context

## Class TokenRequestContext

- java.lang.Object
- - org.keycloak.services.clientpolicy.context.TokenRequestContext

- All Implemented Interfaces:
    ClientPolicyContext

      public class TokenRequestContext
      extends Object
      implements ClientPolicyContext

  Author:
    Takashi Norimatsu

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TokenRequestContext(javax.ws.rs.core.MultivaluedMap<String,String> params, OAuth2CodeParser.ParseResult parseResult)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClientPolicyEvent` | `getEvent()` returns `ClientPolicyEvent` of client policy related events.
    `javax.ws.rs.core.MultivaluedMap<String,String>` | `getParams()`
    `OAuth2CodeParser.ParseResult` | `getParseResult()`

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

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

- - ### Constructor Detail

    - #### TokenRequestContext

          public TokenRequestContext(javax.ws.rs.core.MultivaluedMap<String,String> params,
                                     OAuth2CodeParser.ParseResult parseResult)

  - ### Method Detail

    - #### getEvent

          public ClientPolicyEvent getEvent()

      Description copied from interface: `ClientPolicyContext`
      returns `ClientPolicyEvent` of client policy related events.
      Specified by:
        `getEvent` in interface `ClientPolicyContext`
      Returns:
        `ClientPolicyEvent`

    - #### getParams

          public javax.ws.rs.core.MultivaluedMap<String,String> getParams()

    - #### getParseResult

          public OAuth2CodeParser.ParseResult getParseResult()

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