object BasicAuth
Ordering
- Alphabetic
- By Inheritance
Inherited
- BasicAuth
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
type
BasicAuthenticator[F[_], A] = (BasicCredentials) ⇒ F[Option[A]]
Validates a plaintext password (presumably by comparing it to a hashed value).
Validates a plaintext password (presumably by comparing it to a hashed value). A Some value indicates success; None indicates the password failed to validate.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[F[_], A](realm: String, validate: BasicAuthenticator[F, A])(implicit arg0: Sync[F]): AuthMiddleware[F, A]
Construct authentication middleware that can validate the client-provided plaintext password against something else (like a stored, hashed password).
Construct authentication middleware that can validate the client-provided plaintext password against something else (like a stored, hashed password).
- realm
The realm used for authentication purposes.
- validate
Function that validates a plaintext password
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def challenge[F[_], A](realm: String, validate: BasicAuthenticator[F, A])(implicit arg0: Applicative[F]): Kleisli[F, Request[F], Either[Challenge, AuthedRequest[F, A]]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()