Password

com.worxbend.codeberg4s.auth.Password
See thePassword companion class
object Password

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Password.type

Members list

Value members

Concrete methods

def from(value: String): Either[ValidationError, Password]

Parses a password.

Parses a password.

Unlike ApiToken.from the value is '''not''' trimmed: leading and trailing whitespace can be significant in a password. Rejects an empty value and any value containing a control character, which cannot survive header encoding.

The returned ValidationError describes the failure on the "password" field and never echoes the rejected input.

Attributes

Concrete fields

val Redacted: String

The mask returned by Password.redacted and by toString.

The mask returned by Password.redacted and by toString.

Attributes