public class ProtectionResource extends Object
| Constructor and Description |
|---|
ProtectionResource(Http http,
ServerConfiguration serverConfiguration,
Configuration configuration,
TokenCallable pat) |
| Modifier and Type | Method and Description |
|---|---|
TokenIntrospectionResponse |
introspectRequestingPartyToken(String rpt)
Introspects the given
rpt using the token introspection endpoint. |
PermissionResource |
permission()
Creates a
PermissionResource which can be used to manage permission tickets. |
ProtectedResource |
resource()
Creates a
ProtectedResource which can be used to manage resources. |
public ProtectionResource(Http http, ServerConfiguration serverConfiguration, Configuration configuration, TokenCallable pat)
public ProtectedResource resource()
ProtectedResource which can be used to manage resources.ProtectedResourcepublic PermissionResource permission()
PermissionResource which can be used to manage permission tickets.PermissionResourcepublic TokenIntrospectionResponse introspectRequestingPartyToken(String rpt)
rpt using the token introspection endpoint.rpt - the rpt to introspectTokenIntrospectionResponseCopyright © 2018 JBoss by Red Hat. All rights reserved.