Class MongoOidcAuthSchemeDao
java.lang.Object
dev.getelements.elements.dao.mongo.auth.MongoOidcAuthSchemeDao
- All Implemented Interfaces:
OidcAuthSchemeDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthScheme
(OidcAuthScheme authScheme) Creates anAuthScheme
void
deleteAuthScheme
(String authSchemeId) Deletes theAuthScheme
with the supplied auth scheme ID.findAuthScheme
(String authSchemeIssuerNameOrId) Finds anAuthScheme
, returning anOptional
.getAuthSchemes
(int offset, int count, List<String> tags) Lists allAuthScheme
instancesdev.morphia.Datastore
void
setBeanMapper
(MapperRegistry beanMapperRegistry) void
setDatastore
(dev.morphia.Datastore datastore) void
setMongoDBUtils
(MongoDBUtils mongoDBUtils) void
setValidationHelper
(ValidationHelper validationHelper) updateAuthScheme
(OidcAuthScheme authScheme) Updates the suppliedAuthScheme
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.getelements.elements.sdk.dao.OidcAuthSchemeDao
getAuthScheme
-
Constructor Details
-
MongoOidcAuthSchemeDao
public MongoOidcAuthSchemeDao()
-
-
Method Details
-
getAuthSchemes
Description copied from interface:OidcAuthSchemeDao
Lists allAuthScheme
instances- Specified by:
getAuthSchemes
in interfaceOidcAuthSchemeDao
- Parameters:
offset
-count
-tags
-- Returns:
- a
Pagination
ofAuthScheme
instances
-
findAuthScheme
Description copied from interface:OidcAuthSchemeDao
Finds anAuthScheme
, returning anOptional
.- Specified by:
findAuthScheme
in interfaceOidcAuthSchemeDao
- Parameters:
authSchemeIssuerNameOrId
- the auth scheme id- Returns:
- an
Optional<AuthScheme>
-
createAuthScheme
Description copied from interface:OidcAuthSchemeDao
Creates anAuthScheme
- Specified by:
createAuthScheme
in interfaceOidcAuthSchemeDao
- Parameters:
authScheme
- theCreateAuthSchemeRequest
with the information to create the authScheme- Returns:
- a
CreateAuthSchemeResponse
as it was created
-
updateAuthScheme
Description copied from interface:OidcAuthSchemeDao
Updates the suppliedAuthScheme
- Specified by:
updateAuthScheme
in interfaceOidcAuthSchemeDao
- Parameters:
authScheme
- theUpdateAuthSchemeRequest
with the information to update the authScheme- Returns:
- a
UpdateAuthSchemeResponse
as it was created
-
deleteAuthScheme
Description copied from interface:OidcAuthSchemeDao
Deletes theAuthScheme
with the supplied auth scheme ID.- Specified by:
deleteAuthScheme
in interfaceOidcAuthSchemeDao
- Parameters:
authSchemeId
- the auth scheme ID.
-
getMongoDBUtils
-
getValidationHelper
-
setValidationHelper
-
setMongoDBUtils
-
getBeanMapper
-
setBeanMapper
-
getDatastore
public dev.morphia.Datastore getDatastore() -
setDatastore
@Inject public void setDatastore(dev.morphia.Datastore datastore)
-