AuthResponseContextImpl

class AuthResponseContextImpl<TAuth, TResponse>(val pipeline: RoutingContext, val authProvider: AuthProvider<TAuth>, val route: OpenAPIRoute<*>, val responder: Responder) : OpenAPIPipelineAuthContext<TAuth, TResponse> (source)

Constructors

Link copied to clipboard
constructor(pipeline: RoutingContext, authProvider: AuthProvider<TAuth>, route: OpenAPIRoute<*>, responder: Responder)

Properties

Link copied to clipboard
open override val authProvider: AuthProvider<TAuth>
Link copied to clipboard
open override val pipeline: RoutingContext
Link copied to clipboard
open override val responder: Responder
Link copied to clipboard
open override val route: OpenAPIRoute<*>

Functions

Link copied to clipboard
Link copied to clipboard
inline suspend fun <TResponse : Any> OpenAPIPipelineResponseContext<TResponse>.respond(response: TResponse, statusCode: HttpStatusCode = HttpStatusCode.OK)
Link copied to clipboard
inline suspend fun <TResponse : Any> OpenAPIPipelineResponseContext<TResponse>.respondWithStatus(statusCode: HttpStatusCode)