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. |
PolicyResource |
policy(String resourceId) |
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.ProtectedResource
public PermissionResource permission()
PermissionResource
which can be used to manage permission tickets.PermissionResource
public PolicyResource policy(String resourceId)
public TokenIntrospectionResponse introspectRequestingPartyToken(String rpt)
rpt
using the token introspection endpoint.rpt
- the rpt to introspectTokenIntrospectionResponse
Copyright © 2019 JBoss by Red Hat. All rights reserved.