Interface TokenRequestContext<G,​R extends TokenResponse>

    • Method Detail

      • getGrant

        G getGrant()
        Returns:
        The grant or body of the request
      • getResponseType

        io.micronaut.core.type.Argument<R> getResponseType()
        Returns:
        The response argument
      • getErrorResponseType

        io.micronaut.core.type.Argument<?> getErrorResponseType()
        Returns:
        The error response argument
      • getMediaType

        io.micronaut.http.MediaType getMediaType()
        Returns:
        The media type of the grant or body
      • getEndpoint

        SecureEndpoint getEndpoint()
        Returns:
        The endpoint of which to send the request