Package io.jans.as.server.service
Class SpontaneousScopeService
java.lang.Object
io.jans.as.server.service.SpontaneousScopeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.jans.as.persistence.model.Scope
createSpontaneousScopeIfNeeded
(Set<String> regExps, String scopeId, String clientId) long
boolean
isAllowedBySpontaneousScope
(String spontaneousScope, String scopeRequested) boolean
isAllowedBySpontaneousScopeRegExps
(Set<String> regExps, String scopeRequested) boolean
isAllowedBySpontaneousScopes
(io.jans.as.common.model.registration.Client client, String scopeRequested) isAllowedBySpontaneousScopes
(Set<String> regExps, String scopeRequested)
-
Constructor Details
-
SpontaneousScopeService
public SpontaneousScopeService()
-
-
Method Details
-
createSpontaneousScopeIfNeeded
-
getLifetime
public long getLifetime() -
isAllowedBySpontaneousScopes
public boolean isAllowedBySpontaneousScopes(io.jans.as.common.model.registration.Client client, String scopeRequested) -
isAllowedBySpontaneousScopeRegExps
-
isAllowedBySpontaneousScopes
-
isAllowedBySpontaneousScope
-