Package io.vertx.ext.auth.authorization

## Interface AuthorizationContext

-     public interface AuthorizationContext

  The AuthorizationContext contains properties that can be used to match authorizations.
  Author:
    Stephane Bastian

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static AuthorizationContext` | `create​(User user)` | Factory for Authorization Context
    `static AuthorizationContext` | `create​(User user, MultiMap variables)` | Factory for Authorization Context
    `User` | `user()` | Get the authenticated user
    `MultiMap` | `variables()` |

- - ### Method Detail

    - #### create

          static AuthorizationContext create​(User user)

      Factory for Authorization Context
      Parameters:
        `user` - a user
      Returns:
        a AuthorizationContext instance

    - #### create

          static AuthorizationContext create​(User user,
                                             MultiMap variables)

      Factory for Authorization Context
      Parameters:
        `user` - a user
      Returns:
        a AuthorizationContext instance

    - #### user

          User user()

      Get the authenticated user
      Returns:
        the user

    - #### variables

          MultiMap variables()

      Returns:
        a Multimap containing variable names and values that can be resolved at runtime by `Authorization`Authorizations