jwt

dev.profunktor.auth.jwt
object jwt

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
jwt.type

Members list

Type members

Classlikes

case class JwtAsymmetricAuth(publicKey: JwtPublicKey) extends JwtAuth

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait JwtAuth
class Object
trait Matchable
class Any
Show all
object JwtAuth

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
JwtAuth.type
sealed trait JwtAuth

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
case object JwtNoValidation extends JwtAuth

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait JwtAuth
class Object
trait Matchable
class Any
Show all
Self type
final case class JwtSecretKey(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all
case class JwtSymmetricAuth(secretKey: JwtSecretKey, jwtAlgorithms: Seq[JwtHmacAlgorithm]) extends JwtAuth

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait JwtAuth
class Object
trait Matchable
class Any
Show all
final case class JwtToken(value: String) extends AnyVal

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Value members

Concrete methods

def jwtDecode[F[_]](jwtToken: JwtToken, jwtAuth: JwtAuth)(using evidence$1: ApplicativeThrow[F]): F[JwtClaim]
def jwtEncode[F[_]](jwtClaim: JwtClaim, jwtSecretKey: JwtSecretKey, jwtAlgorithm: JwtHmacAlgorithm)(using evidence$2: Applicative[F]): F[JwtToken]
def jwtEncode[F[_]](jwtClaim: JwtClaim, jwtPrivateKey: JwtPrivateKey)(implicit F: ApplicativeError[F, Throwable]): F[JwtToken]