public class JWTAuthKt
| Modifier and Type | Method and Description |
|---|---|
static void |
jwt(io.ktor.auth.Authentication.Configuration $receiver,
java.lang.String name,
kotlin.jvm.functions.Function1<? super io.ktor.auth.jwt.JWTAuthenticationProvider,kotlin.Unit> configure)
Installs JWT Authentication mechanism
|
static void |
jwtAuthentication(io.ktor.auth.Authentication.Configuration $receiver,
com.auth0.jwt.JWTVerifier jwtVerifier,
java.lang.String realm,
kotlin.jvm.functions.Function2<? super io.ktor.auth.jwt.JWTCredential,? super kotlin.coroutines.experimental.Continuation<? super io.ktor.auth.Principal>,? extends java.lang.Object> validate)
Deprecated.
|
static void |
jwtAuthentication(io.ktor.auth.Authentication.Configuration $receiver,
com.auth0.jwk.JwkProvider jwkProvider,
java.lang.String issuer,
java.lang.String realm,
kotlin.jvm.functions.Function2<? super io.ktor.auth.jwt.JWTCredential,? super kotlin.coroutines.experimental.Continuation<? super io.ktor.auth.Principal>,? extends java.lang.Object> validate)
Deprecated.
|
public static void jwt(io.ktor.auth.Authentication.Configuration $receiver,
java.lang.String name,
kotlin.jvm.functions.Function1<? super io.ktor.auth.jwt.JWTAuthenticationProvider,kotlin.Unit> configure)
Installs JWT Authentication mechanism
public static void jwtAuthentication(io.ktor.auth.Authentication.Configuration $receiver,
com.auth0.jwt.JWTVerifier jwtVerifier,
java.lang.String realm,
kotlin.jvm.functions.Function2<? super io.ktor.auth.jwt.JWTCredential,? super kotlin.coroutines.experimental.Continuation<? super io.ktor.auth.Principal>,? extends java.lang.Object> validate)
public static void jwtAuthentication(io.ktor.auth.Authentication.Configuration $receiver,
com.auth0.jwk.JwkProvider jwkProvider,
java.lang.String issuer,
java.lang.String realm,
kotlin.jvm.functions.Function2<? super io.ktor.auth.jwt.JWTCredential,? super kotlin.coroutines.experimental.Continuation<? super io.ktor.auth.Principal>,? extends java.lang.Object> validate)