Class SuperUserOidcAuthSchemeService
java.lang.Object
dev.getelements.elements.service.auth.SuperUserOidcAuthSchemeService
- All Implemented Interfaces:
OidcAuthSchemeService
-
Constructor Summary
Constructors -
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
instancesvoid
setAuthSchemeDao
(OidcAuthSchemeDao authSchemeDao) void
setValidationHelper
(ValidationHelper validationHelper) updateAuthScheme
(String authSchemeId, CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Updates the suppliedOidcAuthScheme
-
Constructor Details
-
SuperUserOidcAuthSchemeService
public SuperUserOidcAuthSchemeService()
-
-
Method Details
-
getAuthSchemes
Description copied from interface:OidcAuthSchemeService
Lists allOidcAuthScheme
instances- Specified by:
getAuthSchemes
in interfaceOidcAuthSchemeService
- Parameters:
offset
-count
-tags
-- Returns:
- a
Pagination
ofOidcAuthScheme
instances
-
getAuthScheme
Description copied from interface:OidcAuthSchemeService
Fetches a specificOidcAuthScheme
instance based on ID. If not found, an exception is raised.- Specified by:
getAuthScheme
in interfaceOidcAuthSchemeService
- Parameters:
authSchemeId
- the auth scheme ID- Returns:
- the
OidcAuthScheme
, never null
-
createAuthScheme
public CreateOrUpdateOidcAuthSchemeResponse createAuthScheme(CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Description copied from interface:OidcAuthSchemeService
Creates anOidcAuthScheme
. Returns error if scheme already exists.- Specified by:
createAuthScheme
in interfaceOidcAuthSchemeService
- Parameters:
authSchemeRequest
- theCreateOrUpdateOidcAuthSchemeRequest
with the information to create the auth scheme.- Returns:
- a
CreateOrUpdateOidcAuthSchemeResponse
as it was created
-
updateAuthScheme
public CreateOrUpdateOidcAuthSchemeResponse updateAuthScheme(String authSchemeId, CreateOrUpdateOidcAuthSchemeRequest authSchemeRequest) Description copied from interface:OidcAuthSchemeService
Updates the suppliedOidcAuthScheme
- Specified by:
updateAuthScheme
in interfaceOidcAuthSchemeService
- 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.
-
deleteAuthScheme
Description copied from interface:OidcAuthSchemeService
Deletes theOidcAuthScheme
with the supplied auth scheme ID.- Specified by:
deleteAuthScheme
in interfaceOidcAuthSchemeService
- Parameters:
authSchemeId
- the auth scheme ID.
-
getAuthSchemeDao
-
setAuthSchemeDao
-
getValidationHelper
-
setValidationHelper
-