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

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

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

    Methods in com.holonplatform.auth that return Account.Builder
    Modifier and Type | Method and Description
    --- | ---
    `static Account.Builder` | Account.`builder(String accountId)` Builder to create `Account` instances
    `Account.Builder` | Account.Builder.`credentials(Credentials credentials)` Set Account credentials as a `Credentials` object
    `Account.Builder` | Account.Builder.`credentials(Object credentials)` Set Account credentials
    `default <T> Account.Builder` | Account.Builder.`detail(ConfigProperty<T> property, T value)` Deprecated. Use `withDetail(ConfigProperty, Object)`
    `default Account.Builder` | Account.Builder.`detail(String key, Object value)` Deprecated. Use `withDetail(String, Object)`
    `Account.Builder` | Account.Builder.`details(Map<String,Object> details)` Set Account details.
    `Account.Builder` | Account.Builder.`enabled(boolean enabled)` Set whether is enabled (default is `true`)
    `Account.Builder` | Account.Builder.`expired(boolean expired)` Set whether has expired
    `Account.Builder` | Account.Builder.`locked(boolean locked)` Set whether is locked
    `default Account.Builder` | Account.Builder.`permission(Permission permission)` Deprecated. Use `withPermission(Permission)`
    `default Account.Builder` | Account.Builder.`permission(String permission)` Deprecated. Use `withPermission(String)`
    `Account.Builder` | Account.Builder.`permissions(Collection<Permission> permissions)` Set permissions granted to Account.
    `Account.Builder` | Account.Builder.`permissionStrings(Collection<String> permissions)` Set permissions granted to Account using String representations.
    `default Account.Builder` | Account.Builder.`permissionStrings(String... permissions)` Set permissions granted to Account using String representations.
    `Account.Builder` | Account.Builder.`root(boolean root)` Set whether Account is considered a `root` principal, for which permission checking is always skipped, assuming that any permission is granted.
    `default <T> Account.Builder` | Account.Builder.`withDetail(ConfigProperty<T> property, T value)` Add (or replace if given key already exists) an Account detail using a `ConfigProperty`.
    `Account.Builder` | Account.Builder.`withDetail(String key, Object value)` Add (or replace if given key already exists) an Account detail
    `Account.Builder` | Account.Builder.`withPermission(Permission permission)` Add a permission granted to Account
    `Account.Builder` | Account.Builder.`withPermission(String permission)` Add a permission granted to Account using String representation.

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

    Classes in com.holonplatform.auth.internal that implement Account.Builder
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `DefaultAccount.AccountBuilder` Default `DefaultAccount.AccountBuilder` implementation

    Methods in com.holonplatform.auth.internal that return Account.Builder
    Modifier and Type | Method and Description
    --- | ---
    `Account.Builder` | DefaultAccount.AccountBuilder.`credentials(Credentials credentials)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`credentials(Object credentials)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`details(Map<String,Object> details)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`enabled(boolean enabled)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`expired(boolean expired)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`locked(boolean locked)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`permissions(Collection<Permission> permissions)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`permissionStrings(Collection<String> permissions)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`root(boolean root)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`withDetail(String key, Object value)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`withPermission(Permission permission)`
    `Account.Builder` | DefaultAccount.AccountBuilder.`withPermission(String permission)`

Copyright © 2019 The Holon Platform. All rights reserved.