An auth handler that provides OAuth2 Authentication support. This handler is suitable for AuthCode flows.

- `Anything`
  - `Object`
    - `Basic` ...and other supertypes
      - `OAuth2AuthHandler` ...and other supertypes

- `OAuth2AuthHandler`
  - `AuthHandler`
  - `Basic`
    - `Identifiable`
    - `Object`
      - `Anything`

no subtypes hierarchy

Initializer
`OAuth2AuthHandler(OAuth2AuthHandler unknown)`

Inherited Attributes
Attributes inherited from: `Object` `hash`, `string`

Methods
`addAuthorities` | `shared actual default AuthHandler addAuthorities(Set<String> authorities)` Add a set of required authorities for this auth handler Parameters: `authorities` the set of authorities Refines `AuthHandler.addAuthorities`
`addAuthority` | `shared actual default AuthHandler addAuthority(String authority)` Add a required authority for this auth handler Parameters: `authority` the authority Refines `AuthHandler.addAuthority`
`authURI` | `shared default String authURI(String redirectURL, String state)` Build the authorization URL. Parameters: `redirectURL` where is the callback mounted. `state` state opaque token to avoid forged requests
`handle` | `shared actual default void handle(RoutingContext arg0)` Refines `AuthHandler.handle`
`setupCallback` | `shared default OAuth2AuthHandler setupCallback(Route route)` add the callback handler to a given route. Parameters: `route` a given route e.g.: `/callback`

Inherited Methods
Methods inherited from: `Object` `equals`
Methods inherited from: `AuthHandler` `addAuthorities()`, `addAuthority()`, `handle()`