Packages

c

io.oath.jwt

JwtManager

final class JwtManager extends AnyRef

Source
JwtManager.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JwtManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JwtManager(config: JwtManagerConfig)

Value Members

  1. def issueJwt[H, P](claims: ClaimsHP[H, P])(implicit headerClaimsEncoder: ClaimsEncoder[H], payloadClaimsEncoder: ClaimsEncoder[P]): Either[JwtIssueError, Jwt[ClaimsHP[H, P]]]
  2. def issueJwt[P](claims: ClaimsP[P])(implicit claimsEncoder: ClaimsEncoder[P]): Either[JwtIssueError, Jwt[ClaimsP[P]]]
  3. def issueJwt[H](claims: ClaimsH[H])(implicit claimsEncoder: ClaimsEncoder[H]): Either[JwtIssueError, Jwt[ClaimsH[H]]]
  4. def issueJwt(claims: Claims = JwtClaims.Claims()): Either[JwtIssueError, Jwt[Claims]]
  5. def verifyJwt[H, P](jwt: TokenHP)(implicit headerDecoder: ClaimsDecoder[H], payloadDecoder: ClaimsDecoder[P]): Either[JwtVerifyError, ClaimsHP[H, P]]
  6. def verifyJwt[P](jwt: TokenP)(implicit claimsDecoder: ClaimsDecoder[P]): Either[JwtVerifyError, ClaimsP[P]]
  7. def verifyJwt[H](jwt: TokenH)(implicit claimsDecoder: ClaimsDecoder[H]): Either[JwtVerifyError, ClaimsH[H]]
  8. def verifyJwt(jwt: Token): Either[JwtVerifyError, Claims]