Class IntrospectionRequest

java.lang.Object
io.micronaut.security.endpoints.introspection.IntrospectionRequest

public class IntrospectionRequest extends Object
A 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
Author:
Sergio del Amo
See Also:
  • Constructor Details

    • IntrospectionRequest

      public IntrospectionRequest(@NonNull @NotBlank @NonNull @NotBlank String token, @Nullable @Nullable String tokenTypeHint)
      Parameters:
      token - The string value of the token
      tokenTypeHint - A hint about the type of the token submitted for introspection.
  • Method Details

    • getToken

      @NonNull public @NonNull String getToken()
      Returns:
      The string value of the token
    • getTokenTypeHint

      @Nullable public @Nullable String getTokenTypeHint()
      Returns:
      A hint about the type of the token submitted for introspection.
    • getToken_type_hint

      @Nullable public @Nullable String getToken_type_hint()
      Returns:
      A hint about the type of the token submitted for introspection.
    • toString

      public String toString()
      Overrides:
      toString in class Object