public interface ScopeDetector
ScopeInfo
for a given request.
Used by UserContext
to determine the scope, this request belongs to.
ScopeInfo
Modifier and Type | Method and Description |
---|---|
ScopeInfo |
detectScope(WebContext request)
Detects the scope for the given request.
|
@Nonnull ScopeInfo detectScope(@Nonnull WebContext request)
request
- the request to detect the scope fromScopeInfo.DEFAULT_SCOPE
if no
specific scope can be detected.Copyright © 2018. All rights reserved.