Provided

pl.iterators.stir.server.directives.CredentialsHelper.Provided
abstract case class Provided(identifier: String) extends CredentialsHelper

Attributes

Source
SecurityDirectives.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Abstract methods

def provideVerify(verifier: String => Boolean): Boolean

Compares with custom 'verifier' the received secret part of the Credentials. Use of this method only if custom String equality testing is required, not recommended.

Compares with custom 'verifier' the received secret part of the Credentials. Use of this method only if custom String equality testing is required, not recommended.

Attributes

Source
SecurityDirectives.scala
def verify(secret: String, hasher: String => String): Boolean

First applies the passed in hasher function to the received secret part of the Credentials and then safely compares the passed in secret with the hashed received secret. This method can be used if the secret is not stored in plain text. Use of this method instead of manual String equality testing is recommended in order to guard against timing attacks.

First applies the passed in hasher function to the received secret part of the Credentials and then safely compares the passed in secret with the hashed received secret. This method can be used if the secret is not stored in plain text. Use of this method instead of manual String equality testing is recommended in order to guard against timing attacks.

See also EnhancedString#secure_==, for more information.

Attributes

Source
SecurityDirectives.scala

Concrete methods

def provideVerify(secret: String, verifier: (String, String) => Boolean): Boolean

Compares with custom 'verifier' and the passed secret with the received secret part of the Credentials. Use of this method only if custom String equality testing is required, not recommended.

Compares with custom 'verifier' and the passed secret with the received secret part of the Credentials. Use of this method only if custom String equality testing is required, not recommended.

Attributes

Source
SecurityDirectives.scala
def verify(secret: String): Boolean

Safely compares the passed in secret with the received secret part of the Credentials. Use of this method instead of manual String equality testing is recommended in order to guard against timing attacks.

Safely compares the passed in secret with the received secret part of the Credentials. Use of this method instead of manual String equality testing is recommended in order to guard against timing attacks.

See also EnhancedString#secure_==, for more information.

Attributes

Source
SecurityDirectives.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product