Class IntrospectionRequest
- java.lang.Object
-
- io.micronaut.security.endpoints.introspection.IntrospectionRequest
-
@Introspected public class IntrospectionRequest extends java.lang.ObjectA parameter representing the token along with optional parameters representing additional context that is known by the protected resource to aid the authorization server in its response.- Since:
- 2.1.0
- See Also:
- RFC7662 2.1. Introspection request
-
-
Constructor Summary
Constructors Constructor Description IntrospectionRequest()Constructor.IntrospectionRequest(@NotBlank java.lang.String token)IntrospectionRequest(@NotBlank java.lang.String token, java.lang.String tokenTypeHint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetToken()java.lang.StringgetToken_type_hint()java.lang.StringgetTokenTypeHint()voidsetToken(java.lang.String token)voidsetToken_type_hint(java.lang.String tokenTypeHint)voidsetTokenTypeHint(java.lang.String tokenTypeHint)java.lang.StringtoString()
-
-
-
Constructor Detail
-
IntrospectionRequest
public IntrospectionRequest()
Constructor.
-
IntrospectionRequest
public IntrospectionRequest(@NonNull @NotBlank @NotBlank java.lang.String token)- Parameters:
token- The string value of the token
-
IntrospectionRequest
public IntrospectionRequest(@NonNull @NotBlank @NotBlank java.lang.String token, @Nullable java.lang.String tokenTypeHint)- Parameters:
token- The string value of the tokentokenTypeHint- A hint about the type of the token submitted for introspection.
-
-
Method Detail
-
getToken
@NonNull public java.lang.String getToken()
- Returns:
- The string value of the token
-
setToken
public void setToken(@NonNull java.lang.String token)- Parameters:
token- The string value of the tok
-
getTokenTypeHint
@Nullable public java.lang.String getTokenTypeHint()
- Returns:
- A hint about the type of the token submitted for introspection.
-
setTokenTypeHint
public void setTokenTypeHint(@Nullable java.lang.String tokenTypeHint)- Parameters:
tokenTypeHint- A hint about the type of the token submitted for introspection.
-
getToken_type_hint
@Nullable public java.lang.String getToken_type_hint()
- Returns:
- A hint about the type of the token submitted for introspection.
-
setToken_type_hint
public void setToken_type_hint(@Nullable java.lang.String tokenTypeHint)- Parameters:
tokenTypeHint- A hint about the type of the token submitted for introspection.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-