com.holonplatform.auth

## Interface Account.AccountProvider

- Enclosing interface:
    Account
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface Account.AccountProvider

  Provider which can be used to load `Account` data.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Optional<Account>` | `loadAccountById(String id)` Load an `Account` based on account `id`

- - ### Method Detail

    - #### loadAccountById

          Optional<Account> loadAccountById(String id)

      Load an `Account` based on account `id`
      Parameters:
        `id` - Account id
      Returns:
        Account associated to given `id`, or an empty Optional if not found

Copyright © 2017 The Holon Platform. All rights reserved.