## Uses of Interface
com.holonplatform.auth.Authentication.Builder

- Packages that use Authentication.Builder
  Package | Description
  --- | ---
  com.holonplatform.auth |
  com.holonplatform.auth.internal |
  com.holonplatform.auth.jwt |
  com.holonplatform.auth.jwt.internal |

- - ### Uses of Authentication.Builder in com.holonplatform.auth

    Methods in com.holonplatform.auth that return Authentication.Builder
    Modifier and Type | Method and Description
    --- | ---
    `static Authentication.Builder` | Authentication.`builder(String principalName)` Builder to create Authentication instance for given `principalName`.
    `default <T> Authentication.Builder` | Authentication.Builder.`parameter(ConfigProperty<T> property, T value)` Deprecated. Use `withParameter(ConfigProperty, Object)`
    `default Authentication.Builder` | Authentication.Builder.`parameter(String name, Object value)` Deprecated. Use `withParameter(String, Object)`
    `default Authentication.Builder` | Authentication.Builder.`permission(Permission permission)` Deprecated. Use `withPermission(Permission)`
    `default Authentication.Builder` | Authentication.Builder.`permission(String permission)` Deprecated. Use `withPermission(String)`
    `Authentication.Builder` | Authentication.Builder.`root(boolean root)` Set whether authentication is considered a `root` principal, for which permission checking is always skipped, assuming that any permission is granted.
    `Authentication.Builder` | Authentication.Builder.`scheme(String scheme)` Set the authentication scheme with which this authentication was produced.
    `<T> Authentication.Builder` | Authentication.Builder.`withParameter(ConfigProperty<T> property, T value)` Add an authentication parameter using a `ConfigProperty` an `ConfigProperty.getKey()` as parameter name
    `Authentication.Builder` | Authentication.Builder.`withParameter(String name, Object value)` Add an authentication parameter.
    `Authentication.Builder` | Authentication.Builder.`withPermission(Permission permission)` Add a permission granted to Authentication
    `Authentication.Builder` | Authentication.Builder.`withPermission(String permission)` Add a permission granted to Authentication using String representation.

  - ### Uses of Authentication.Builder in com.holonplatform.auth.internal

    Classes in com.holonplatform.auth.internal that implement Authentication.Builder
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `DefaultAuthentication.AuthenticationBuilder` Default `Authentication.Builder` implementation.

    Methods in com.holonplatform.auth.internal that return Authentication.Builder
    Modifier and Type | Method and Description
    --- | ---
    `Authentication.Builder` | DefaultAuthentication.AuthenticationBuilder.`root(boolean root)`
    `Authentication.Builder` | DefaultAuthentication.AuthenticationBuilder.`scheme(String scheme)`
    `<T> Authentication.Builder` | DefaultAuthentication.AuthenticationBuilder.`withParameter(ConfigProperty<T> property, T value)`
    `Authentication.Builder` | DefaultAuthentication.AuthenticationBuilder.`withParameter(String name, Object value)`
    `Authentication.Builder` | DefaultAuthentication.AuthenticationBuilder.`withPermission(Permission permission)`
    `Authentication.Builder` | DefaultAuthentication.AuthenticationBuilder.`withPermission(String permission)`

  - ### Uses of Authentication.Builder in com.holonplatform.auth.jwt

    Methods in com.holonplatform.auth.jwt that return Authentication.Builder
    Modifier and Type | Method and Description
    --- | ---
    `Authentication.Builder` | JwtTokenParser.`parseJwt(JwtConfiguration configuration, String jwt)` Parse given JWT and obtain it as an `Authentication` instance.

  - ### Uses of Authentication.Builder in com.holonplatform.auth.jwt.internal

    Methods in com.holonplatform.auth.jwt.internal that return Authentication.Builder
    Modifier and Type | Method and Description
    --- | ---
    `Authentication.Builder` | DefaultJwtTokenParser.`parseJwt(JwtConfiguration configuration, String jwt)`

Copyright © 2019 The Holon Platform. All rights reserved.