Interface OidcAuthSchemeService
- All Known Implementing Classes:
SuperUserOidcAuthSchemeService
public interface OidcAuthSchemeService
-
Method Summary
Modifier and TypeMethodDescriptioncreateAuthScheme
(CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Creates anOidcAuthScheme
.void
deleteAuthScheme
(String authSchemeId) Deletes theOidcAuthScheme
with the supplied auth scheme ID.getAuthScheme
(String authSchemeId) Fetches a specificOidcAuthScheme
instance based on ID.getAuthSchemes
(int offset, int count, List<String> tags) Lists allOidcAuthScheme
instancesupdateAuthScheme
(String authSchemeId, CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Updates the suppliedOidcAuthScheme
-
Method Details
-
getAuthSchemes
Lists allOidcAuthScheme
instances- Parameters:
offset
-count
-tags
-- Returns:
- a
Pagination
ofOidcAuthScheme
instances
-
getAuthScheme
Fetches a specificOidcAuthScheme
instance based on ID. If not found, an exception is raised.- Parameters:
authSchemeId
- the auth scheme ID- Returns:
- the
OidcAuthScheme
, never null
-
updateAuthScheme
CreateOrUpdateOidcAuthSchemeResponse updateAuthScheme(String authSchemeId, CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Updates the suppliedOidcAuthScheme
- Parameters:
authSchemeId
-authSchemeRequest
- theCreateOrUpdateOidcAuthSchemeRequest
with the information to update the auth scheme. Returns error if the auth scheme does not exist.- Returns:
- a
CreateOrUpdateOidcAuthSchemeResponse
as it was updated.
-
createAuthScheme
CreateOrUpdateOidcAuthSchemeResponse createAuthScheme(CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Creates anOidcAuthScheme
. Returns error if scheme already exists.- Parameters:
authSchemeRequest
- theCreateOrUpdateOidcAuthSchemeRequest
with the information to create the auth scheme.- Returns:
- a
CreateOrUpdateOidcAuthSchemeResponse
as it was created
-
deleteAuthScheme
Deletes theOidcAuthScheme
with the supplied auth scheme ID.- Parameters:
authSchemeId
- the auth scheme ID.
-