SCryptPasswordStore

tsec.authentication.credentials.SCryptPasswordStore
trait SCryptPasswordStore[F[_], Id] extends PasswordStore[F, Id, SCrypt]

Attributes

Source
CredentialStore.scala
Graph
Supertypes
class PasswordStore[F, Id, SCrypt]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def isAuthenticated(id: Id, raw: Array[Char]): F[Boolean]

Attributes

Inherited from:
PasswordStore
Source
CredentialStore.scala
def isAuthenticated(id: Id, raw: Array[Byte]): F[Boolean]

Attributes

Inherited from:
PasswordStore
Source
CredentialStore.scala
def isAuthenticated(credentials: RawCredentials[Id]): F[Boolean]

Attributes

Inherited from:
PasswordStore
Source
CredentialStore.scala
def putCredentials(raw: Array[Char], put: PHash[SCrypt] => F[Unit]): F[Unit]

Attributes

Inherited from:
PasswordStore
Source
CredentialStore.scala
def putCredentials(raw: Array[Byte], put: PHash[SCrypt] => F[Unit]): F[Unit]

Attributes

Inherited from:
PasswordStore
Source
CredentialStore.scala
def putCredentials(credentials: RawCredentials[Id], put: PHash[SCrypt] => F[Unit]): F[Unit]

Add credentials to some backing store.

Add credentials to some backing store. putCredentials takes a function, most likely partially applied on some userId, that takes a P and adds some user record onto a credentials store.

Attributes

Returns
Inherited from:
PasswordStore
Source
CredentialStore.scala
def retrievePass(id: Id): OptionT[F, PHash[P]]

Attributes

Inherited from:
PasswordStore
Source
CredentialStore.scala
def updateCredentials(credentials: RawCredentials[Id], update: PHash[SCrypt] => F[Unit]): F[Unit]

Alias for putCredentials for when anyone may want to be verbose about put vs update

Alias for putCredentials for when anyone may want to be verbose about put vs update

Attributes

Inherited from:
CredentialStore
Source
CredentialStore.scala