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 anAuthSchemevoiddeleteAuthScheme(String authSchemeId) Deletes theAuthSchemewith the supplied auth scheme ID.getAuthScheme(String authSchemeId) Fetches a specificAuthSchemeinstance based on ID.getAuthSchemes(int offset, int count, List<String> tags) Lists allAuthSchemeinstancesupdateAuthScheme(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Updates the suppliedAuthScheme
-
Method Details
-
getAuthSchemes
Lists allAuthSchemeinstances- Parameters:
offset-count-tags-- Returns:
- a
PaginationofAuthSchemeinstances
-
getAuthScheme
Fetches a specificAuthSchemeinstance 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- theUpdateAuthSchemeRequestwith the information to update the authScheme- Returns:
- a
UpdateAuthSchemeResponseas it was created
-
createAuthScheme
Creates anAuthScheme- Parameters:
authSchemeRequest- theCreateAuthSchemeRequestwith the information to create the authScheme- Returns:
- a
CreateAuthSchemeResponseas it was created
-
deleteAuthScheme
Deletes theAuthSchemewith the supplied auth scheme ID.- Parameters:
authSchemeId- the auth scheme ID.
-