AccessToken extension to the User interface

- `Anything`
  - `Object`
    - `Basic` ...and other supertypes
      - `User`
        - `AccessToken`

- `AccessToken`
  - `User`
    - `Basic`
      - `Identifiable`
      - `Object`
        - `Anything`

no subtypes hierarchy

Initializer
`AccessToken(AccessToken unknown)`

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

Methods
`accessToken` | `shared default Object accessToken()` The Access Token if present parsed as a JsonObject
`expired` | `shared default Boolean expired()` Check if the access token is expired or not.
`fetch` | `shared default AccessToken fetch(String resource, Anything(Throwable|OAuth2Response) callback)` Fetches a JSON resource using this Access Token. Parameters: `resource` the resource to fetch. `callback` The callback function returning the results.
`fetch` | `shared default AccessToken fetch(HttpMethod method, String resource, Object headers, Buffer payload, Anything(Throwable|OAuth2Response) callback)` Fetches a JSON resource using this Access Token. Parameters: `method` the HTTP method to user. `resource` the resource to fetch. `headers` extra headers to pass to the request. `payload` payload to send to the server. `callback` The callback function returning the results.
`introspect` | `shared default AccessToken introspect(Anything(Throwable?) callback)` Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid. Parameters: `callback` The callback function returning the results.
`introspect` | `shared default AccessToken introspect(String tokenType, Anything(Throwable?) callback)` Introspect access token. This is an OAuth2 extension that allow to verify if an access token is still valid. Parameters: `tokenType` A String containing the type of token to revoke. Should be either “access_token” or “refresh_token”. `callback` The callback function returning the results.
`logout` | `shared default AccessToken logout(Anything(Throwable?) callback)` Revoke refresh token and calls the logout endpoint. This is a openid-connect extension and might not be available on all providers. Parameters: `callback` The callback function returning the results.
`refresh` | `shared default AccessToken refresh(Anything(Throwable?) callback)` Refresh the access token Parameters: `callback` The callback function returning the results.
`revoke` | `shared default AccessToken revoke(String token_type, Anything(Throwable?) callback)` Revoke access or refresh token Parameters: `token_type` A String containing the type of token to revoke. Should be either “access_token” or “refresh_token”. `callback` The callback function returning the results.
`userInfo` | `shared default AccessToken userInfo(Anything(Throwable|Object) callback)` Load the user info as per OIDC spec. Parameters: `callback` The callback function returning the results.

Inherited Methods
Methods inherited from: `Object` `equals`
Methods inherited from: `User` `clearCache`, `isAuthorised`, `isAuthorized`, `principal`, `setAuthProvider`