Package com.strongdm.api
Class Accounts
java.lang.Object
com.strongdm.api.Accounts
- All Implemented Interfaces:
SnapshotAccounts
Accounts are users that have access to strongDM. There are two types of accounts:
1. **Users:** humans who are authenticated through username and password or SSO.
2. **Service Accounts:** machines that are authenticated using a service token.
3. **Tokens** are access keys with permissions that can be used for authentication.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate registers a new Account.Delete removes an Account by ID.Get reads one Account by ID.List gets a list of Accounts matching a given set of criteria.Update replaces all the fields of an Account by ID.withDeadlineAfter
(long duration, TimeUnit units) This function returns a copy of the Accounts service which has the given deadline set for all method calls.
-
Constructor Details
-
Accounts
-
-
Method Details
-
withDeadlineAfter
This function returns a copy of the Accounts service which has the given deadline set for all method calls. -
create
Create registers a new Account.- Throws:
RpcException
-
get
Get reads one Account by ID.- Specified by:
get
in interfaceSnapshotAccounts
- Throws:
RpcException
-
update
Update replaces all the fields of an Account by ID.- Throws:
RpcException
-
delete
Delete removes an Account by ID.- Throws:
RpcException
-
list
List gets a list of Accounts matching a given set of criteria.- Specified by:
list
in interfaceSnapshotAccounts
- Throws:
RpcException
-