Interface AuthSchemeService
- All Known Implementing Classes:
SuperUserAuthSchemeService
public interface AuthSchemeService
Manages instances of
AuthScheme
.
Created by robb on 11/12/21.-
Method Summary
Modifier and TypeMethodDescriptioncreateAuthScheme
(CreateAuthSchemeRequest authSchemeRequest) Creates anAuthScheme
void
deleteAuthScheme
(String authSchemeId) Deletes theAuthScheme
with the supplied auth scheme ID.getAuthScheme
(String authSchemeId) Fetches a specificAuthScheme
instance based on ID.getAuthSchemes
(int offset, int count, List<String> tags) Lists allAuthScheme
instancesupdateAuthScheme
(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Updates the suppliedAuthScheme
-
Method Details
-
getAuthSchemes
Lists allAuthScheme
instances- Parameters:
offset
-count
-tags
-- Returns:
- a
Pagination
ofAuthScheme
instances
-
getAuthScheme
Fetches a specificAuthScheme
instance based on ID. If not found, an exception is raised.- Parameters:
authSchemeId
- the auth scheme ID- Returns:
- the
AuthScheme
, never null
-
updateAuthScheme
UpdateAuthSchemeResponse updateAuthScheme(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Updates the suppliedAuthScheme
- Parameters:
authSchemeId
-authSchemeRequest
- theUpdateAuthSchemeRequest
with the information to update the authScheme- Returns:
- a
UpdateAuthSchemeResponse
as it was created
-
createAuthScheme
Creates anAuthScheme
- Parameters:
authSchemeRequest
- theCreateAuthSchemeRequest
with the information to create the authScheme- Returns:
- a
CreateAuthSchemeResponse
as it was created
-
deleteAuthScheme
Deletes theAuthScheme
with the supplied auth scheme ID.- Parameters:
authSchemeId
- the auth scheme ID.
-