io.letsstreamit.services.profile.utils.AuthenticationDirectives
AuthenticationDirectives contains custom directives for authentication
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
getTokenData gets the data from the token provided in the Authorization header
getTokenData gets the data from the token provided in the Authorization header
Value parameters
-
system
-
ActorSystem to handle the request
Attributes
-
Returns
-
Directive1[String] email if valid
validateToken validates the token provided in the Authorization header
validateToken validates the token provided in the Authorization header
Value parameters
-
system
-
ActorSystem to handle the request
Attributes
-
Returns
-
Directive1[String] token if valid