Custom

class Custom(block: suspend (HttpRequestBuilder) -> Unit) : KAuthProvider(source)

Escape hatch for any auth scheme not covered above.

Parameters

block

Suspend lambda receiving the HttpRequestBuilder directly. Add any headers or modify the request as needed.

Constructors

Link copied to clipboard
constructor(block: suspend (HttpRequestBuilder) -> Unit)