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>
Content copied to clipboard
A base class for defining an authentication scope.
Link copied to clipboard
abstract class KtorServerBasicAuth<T : Principal>(authName: String?) : KtorServerPrincipalAuth<T>
Content copied to clipboard
A Ktor server Basic auth scope.
Link copied to clipboard
abstract class KtorServerDigestAuth<T : Principal>(authName: String?) : KtorServerAuth<DigestCredential>
Content copied to clipboard
A Ktor server digest auth scope.
Link copied to clipboard
abstract class KtorServerFormAuth<T : Principal>(authName: String?) : KtorServerPrincipalAuth<T>
Content copied to clipboard
A Ktor server form auth scope.
Link copied to clipboard
abstract class KtorServerOAuthAuth(authName: String?) : KtorServerPrincipalAuth<OAuthAccessTokenResponse>
Content copied to clipboard
A Ktor server OAuth auth scope.
Link copied to clipboard
abstract class KtorServerPrincipalAuth<T : Principal>(authName: String?) : KtorServerAuth<T>
Content copied to clipboard
A base class for defining an authentication scope that sets a principal to call.authentication.principal
.