Class IntrospectionRequest


  • @Introspected
    public class IntrospectionRequest
    extends java.lang.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
    See Also:
    RFC7662 2.1. Introspection request
    • 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 token
        tokenTypeHint - 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:
        toString in class java.lang.Object