Documentation ¶
Index ¶
- type AccountService
- func (svc *AccountService) Account(ctx context.Context, accountID string) (*identity.Account, error)
- func (svc *AccountService) AccountCount(ctx context.Context, opt *identity.FindAccountOptions) (int, error)
- func (svc *AccountService) Accounts(ctx context.Context, opt *identity.FindAccountOptions) ([]*identity.Account, error)
- func (svc *AccountService) CreateAccount(ctx context.Context, account *identity.Account) error
- func (svc *AccountService) LockAccount(ctx context.Context, app string, accountID string) error
- func (svc *AccountService) UnlockAccount(ctx context.Context, app string, accountID string) error
- func (svc *AccountService) UpdateAccountPassword(ctx context.Context, accountID string, newPassword string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type AccountService struct { }
func NewAccountService ¶
func NewAccountService() *AccountService
func (*AccountService) AccountCount ¶
func (svc *AccountService) AccountCount(ctx context.Context, opt *identity.FindAccountOptions) (int, error)
func (*AccountService) Accounts ¶
func (svc *AccountService) Accounts(ctx context.Context, opt *identity.FindAccountOptions) ([]*identity.Account, error)
func (*AccountService) CreateAccount ¶
func (*AccountService) LockAccount ¶
func (*AccountService) UnlockAccount ¶
func (*AccountService) UpdateAccountPassword ¶
Click to show internal directories.
Click to hide internal directories.