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

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

- - ### 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.

Copyright © 2019 The Holon Platform. All rights reserved.