org.keycloak.authorization.authorization

## Class AuthorizationTokenService

- java.lang.Object
- - org.keycloak.authorization.authorization.AuthorizationTokenService

-     public class AuthorizationTokenService
      extends Object

  Author:
    Pedro Igor

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AuthorizationTokenService(AuthorizationProvider authorization)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `authorize(AuthorizationRequest authorizationRequest, javax.ws.rs.container.AsyncResponse asyncResponse)`
    `javax.ws.rs.core.Response` | `authorizepPreFlight()`

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

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

- - ### Constructor Detail

    - #### AuthorizationTokenService

          public AuthorizationTokenService(AuthorizationProvider authorization)

  - ### Method Detail

    - #### authorizepPreFlight

          @OPTIONS
          public javax.ws.rs.core.Response authorizepPreFlight()

    - #### authorize

          @POST
           @Consumes(value="application/json")
           @Produces(value="application/json")
          public void authorize(AuthorizationRequest authorizationRequest,
                                                                                                                @Suspended
                                                                                                                javax.ws.rs.container.AsyncResponse asyncResponse)

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