## 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
    `Account.Builder` | Account.Builder.`detail(String key, Object value)` Add (or replace if given key already exists) an Account detail
    `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
    `Account.Builder` | Account.Builder.`permission(Permission permission)` Add a permission granted to Account
    `Account.Builder` | Account.Builder.`permission(String permission)` Add a permission granted to Account using String representation.
    `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.

Copyright © 2017 The Holon Platform. All rights reserved.