Package io.jans.as.server.service
Class SpontaneousScopeService
- java.lang.Object
-
- io.jans.as.server.service.SpontaneousScopeService
-
@Named public class SpontaneousScopeService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SpontaneousScopeService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scope
createSpontaneousScopeIfNeeded(java.util.Set<java.lang.String> regExps, java.lang.String scopeId, java.lang.String clientId)
long
getLifetime()
boolean
isAllowedBySpontaneousScope(java.lang.String spontaneousScope, java.lang.String scopeRequested)
boolean
isAllowedBySpontaneousScopes(io.jans.as.common.model.registration.Client client, java.lang.String scopeRequested)
io.jans.as.model.util.Pair<java.lang.Boolean,java.lang.String>
isAllowedBySpontaneousScopes(java.util.Set<java.lang.String> regExps, java.lang.String scopeRequested)
boolean
isAllowedBySpontaneousScopes_(java.util.Set<java.lang.String> regExps, java.lang.String scopeRequested)
-
-
-
Method Detail
-
createSpontaneousScopeIfNeeded
public Scope createSpontaneousScopeIfNeeded(java.util.Set<java.lang.String> regExps, java.lang.String scopeId, java.lang.String clientId)
-
getLifetime
public long getLifetime()
-
isAllowedBySpontaneousScopes
public boolean isAllowedBySpontaneousScopes(io.jans.as.common.model.registration.Client client, java.lang.String scopeRequested)
-
isAllowedBySpontaneousScopes_
public boolean isAllowedBySpontaneousScopes_(java.util.Set<java.lang.String> regExps, java.lang.String scopeRequested)
-
isAllowedBySpontaneousScopes
public io.jans.as.model.util.Pair<java.lang.Boolean,java.lang.String> isAllowedBySpontaneousScopes(java.util.Set<java.lang.String> regExps, java.lang.String scopeRequested)
-
isAllowedBySpontaneousScope
public boolean isAllowedBySpontaneousScope(java.lang.String spontaneousScope, java.lang.String scopeRequested)
-
-