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 anAuthSchemevoiddeleteAuthScheme(String authSchemeId) Deletes theAuthSchemewith the supplied auth scheme ID.findAuthScheme(String authSchemeIssuerNameOrId) Finds anAuthScheme, returning anOptional.getAuthSchemes(int offset, int count, List<String> tags) Lists allAuthSchemeinstancesdev.morphia.DatastorevoidsetBeanMapper(MapperRegistry beanMapperRegistry) voidsetDatastore(dev.morphia.Datastore datastore) voidsetMongoDBUtils(MongoDBUtils mongoDBUtils) voidsetValidationHelper(ValidationHelper validationHelper) updateAuthScheme(OidcAuthScheme authScheme) Updates the suppliedAuthSchemeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.sdk.dao.OidcAuthSchemeDao
getAuthScheme
-
Constructor Details
-
MongoOidcAuthSchemeDao
public MongoOidcAuthSchemeDao()
-
-
Method Details
-
getAuthSchemes
Description copied from interface:OidcAuthSchemeDaoLists allAuthSchemeinstances- Specified by:
getAuthSchemesin interfaceOidcAuthSchemeDao- Parameters:
offset-count-tags-- Returns:
- a
PaginationofAuthSchemeinstances
-
findAuthScheme
Description copied from interface:OidcAuthSchemeDaoFinds anAuthScheme, returning anOptional.- Specified by:
findAuthSchemein interfaceOidcAuthSchemeDao- Parameters:
authSchemeIssuerNameOrId- the auth scheme id- Returns:
- an
Optional<AuthScheme>
-
createAuthScheme
Description copied from interface:OidcAuthSchemeDaoCreates anAuthScheme- Specified by:
createAuthSchemein interfaceOidcAuthSchemeDao- Parameters:
authScheme- theCreateAuthSchemeRequestwith the information to create the authScheme- Returns:
- a
CreateAuthSchemeResponseas it was created
-
updateAuthScheme
Description copied from interface:OidcAuthSchemeDaoUpdates the suppliedAuthScheme- Specified by:
updateAuthSchemein interfaceOidcAuthSchemeDao- Parameters:
authScheme- theUpdateAuthSchemeRequestwith the information to update the authScheme- Returns:
- a
UpdateAuthSchemeResponseas it was created
-
deleteAuthScheme
Description copied from interface:OidcAuthSchemeDaoDeletes theAuthSchemewith the supplied auth scheme ID.- Specified by:
deleteAuthSchemein 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)
-