abstract class JWTAuthenticator[F[_], I, V, A] extends Authenticator[F, I, V, AugmentedJWT[A, I]]

Note: Not sealed in case of user-defined custom behavior

Source
JWTAuthenticator.scala
Linear Supertypes
Authenticator[F, I, V, AugmentedJWT[A, I]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JWTAuthenticator
  2. Authenticator
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JWTAuthenticator()(implicit arg0: Sync[F])

Abstract Value Members

  1. abstract def afterBlock(response: Response[F], authenticator: AugmentedJWT[A, I]): OptionT[F, Response[F]]

    Handles the embedding of the authenticator (if necessary) in the response, and any other actions that should happen after a request related to authenticators

    Handles the embedding of the authenticator (if necessary) in the response, and any other actions that should happen after a request related to authenticators

    Definition Classes
    Authenticator
  2. abstract def create(body: I): F[AugmentedJWT[A, I]]

    Create an authenticator from an identifier.

    Create an authenticator from an identifier.

    Definition Classes
    Authenticator
  3. abstract def discard(authenticator: AugmentedJWT[A, I]): F[AugmentedJWT[A, I]]

    Delete an authenticator from a backing store, or invalidate it.

    Delete an authenticator from a backing store, or invalidate it.

    Definition Classes
    Authenticator
  4. abstract def embed(response: Response[F], authenticator: AugmentedJWT[A, I]): Response[F]

    Embed an authenticator directly into a response.

    Embed an authenticator directly into a response. Particularly useful for adding an authenticator into unauthenticated actions

    Definition Classes
    Authenticator
  5. abstract def expiry: FiniteDuration
    Definition Classes
    Authenticator
  6. abstract def extractRawOption(request: Request[F]): Option[String]

    Attempt to retrieve the raw representation of an A This is primarily useful when attempting to combine AuthenticatorService, to be able to evaluate an endpoint with more than one token type.

    Attempt to retrieve the raw representation of an A This is primarily useful when attempting to combine AuthenticatorService, to be able to evaluate an endpoint with more than one token type. or simply just to prod whether the request is malformed.

    Definition Classes
    Authenticator
  7. abstract def maxIdle: Option[FiniteDuration]
    Definition Classes
    Authenticator
  8. abstract def parseRaw(raw: String, request: Request[F]): OptionT[F, SecuredRequest[F, V, AugmentedJWT[A, I]]]

    Parse the raw representation from extractRawOption

    Parse the raw representation from extractRawOption

    Definition Classes
    Authenticator
  9. abstract def refresh(authenticator: AugmentedJWT[A, I]): F[AugmentedJWT[A, I]]

    Refresh an authenticator: Primarily used for sliding window expiration

    Refresh an authenticator: Primarily used for sliding window expiration

    Definition Classes
    Authenticator
  10. abstract def renew(authenticator: AugmentedJWT[A, I]): F[AugmentedJWT[A, I]]

    Renew an authenticator: Reset it's expiry and whatnot.

    Renew an authenticator: Reset it's expiry and whatnot.

    Definition Classes
    Authenticator
  11. abstract def update(authenticator: AugmentedJWT[A, I]): F[AugmentedJWT[A, I]]

    Update the altered authenticator

    Update the altered authenticator

    Definition Classes
    Authenticator

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def extractAndValidate(request: Request[F]): OptionT[F, SecuredRequest[F, V, AugmentedJWT[A, I]]]

    Return a secured request from a request, that carries our authenticator

    Return a secured request from a request, that carries our authenticator

    Definition Classes
    Authenticator
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Authenticator[F, I, V, AugmentedJWT[A, I]]

Inherited from AnyRef

Inherited from Any

Ungrouped