public static class OAuth2GuiceModule.DefaultStatelessCheck extends Object implements StatelessCheck<Boolean>
Constructor and Description |
---|
DefaultStatelessCheck(OAuth2ProviderSettingsFactory oAuth2ProviderSettings) |
Modifier and Type | Method and Description |
---|---|
Boolean |
byRealm(String realm)
Checks the OAuth2 token is stateless or not based on the realm
|
Boolean |
byRequest(OAuth2Request request)
Checks the OAuth2 token is stateless or not based on the request
|
Boolean |
byToken(String tokenId)
Interrogates token to ascertain the OAuth2 token is stateless or not
|
@Inject public DefaultStatelessCheck(OAuth2ProviderSettingsFactory oAuth2ProviderSettings)
public Boolean byToken(String tokenId)
StatelessCheck
byToken
in interface StatelessCheck<Boolean>
tokenId
- The token idpublic Boolean byRealm(String realm)
StatelessCheck
byRealm
in interface StatelessCheck<Boolean>
realm
- The realmpublic Boolean byRequest(OAuth2Request request)
StatelessCheck
byRequest
in interface StatelessCheck<Boolean>
request
- The OAuth2 requestCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.