Package com.rnett.krosstalk.ktor.server.auth

Auth scopes for the Krosstalk Ktor client server. See module description.

Types

Link copied to clipboard
abstract class KtorServerAuth<T : Any>(authName: String?) : KtorServerScope<T>

A base class for defining an authentication scope.

Link copied to clipboard
abstract class KtorServerBasicAuth<T : Principal>(authName: String?) : KtorServerPrincipalAuth<T>

A Ktor server Basic auth scope.

Link copied to clipboard
abstract class KtorServerDigestAuth<T : Principal>(authName: String?) : KtorServerAuth<DigestCredential>

A Ktor server digest auth scope.

Link copied to clipboard
abstract class KtorServerFormAuth<T : Principal>(authName: String?) : KtorServerPrincipalAuth<T>

A Ktor server form auth scope.

Link copied to clipboard
abstract class KtorServerOAuthAuth(authName: String?) : KtorServerPrincipalAuth<OAuthAccessTokenResponse>

A Ktor server OAuth auth scope.

Link copied to clipboard
abstract class KtorServerPrincipalAuth<T : Principal>(authName: String?) : KtorServerAuth<T>

A base class for defining an authentication scope that sets a principal to call.authentication.principal.