public class StandardIntrospectionRequest extends Object implements Serializable
/api/auth/introspection/standard API.
Note that the API and /api/auth/introspection API are different.
/api/auth/introspection/standard API exists to help your
authorization server provide its own introspection API which complies
with RFC 7662 (OAuth
2.0 Token Introspection).
parameters(REQUIRED)Request parameters which comply with the introspection request defined in "2.1. Introspection Request" in RFC 7662. The following is an example value of
parameters.token=pNj1h24a4geA_YHilxrshkRkxJDsyXBZWKp3hZ5ND7A&token_type_hint=access_tokenThe implementation of the introspection endpoint of your authorization server will receive an HTTP POST [RFC 7231] request with parameters in the "
application/x-www-form-urlencoded" format. It is the entity body of the request that Authlete's/api/auth/introspection/standardAPI expects as the value ofparameters.
StandardIntrospectionResponse,
AuthleteApi.standardIntrospection(StandardIntrospectionRequest),
Serialized Form| Constructor and Description |
|---|
StandardIntrospectionRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getParameters()
Get the value of
parameters that represents the
request parameters which the introspection endpoint of
the authorization server received. |
StandardIntrospectionRequest |
setParameters(String parameters)
Set the value of
parameters that represents the
request parameters which the introspection endpoint of
the authorization server received. |
public String getParameters()
parameters that represents the
request parameters which the introspection endpoint of
the authorization server received.token=pNj1h24a4geA_YHilxrshkRkxJDsyXBZWKp3hZ5ND7A".public StandardIntrospectionRequest setParameters(String parameters)
parameters that represents the
request parameters which the introspection endpoint of
the authorization server received.parameters - Request parameters which comply with RFC 7662.
For example, "token=pNj1h24a4geA_YHilxrshkRkxJDsyXBZWKp3hZ5ND7A".this object.Copyright © 2019. All rights reserved.