com.geirolz.secret.Secret
See theSecret companion class
object Secret
Attributes
Members list
Value members
Concrete methods
override def apply[T](value: => T, collectDestructionLocation: Boolean)(using strategy: SecretStrategy[T], hasher: Hasher): Secret[T]
Create a secret from the given value
Create a secret from the given value
Attributes
- Definition Classes
-
SecretCompanionApi
Inherited methods
Create a secret from the environment variable.
Create a secret from the environment variable.
Attributes
- Inherited from:
- SecretCompanionApi (hidden)
def noLocation[T : SecretStrategy](value: => T)(implicit evidence$1: SecretStrategy[T], Hasher): Secret[T]
Create a new secret with the given value without collecting the destruction location
Create a new secret with the given value without collecting the destruction location
Attributes
- Inherited from:
- SecretCompanionApi (hidden)
Givens
Inherited givens
Attributes
- Inherited from:
- SecretApiInstances (hidden)
Attributes
- Inherited from:
- SecretApiInstances (hidden)
Attributes
- Inherited from:
- SecretApiInstances (hidden)
Extensions
Inherited extensions
extension [L, T](eSecret: Either[L, Secret[T]])(implicit evidence$1: SecretStrategy[T], evidence$2: Monoid[T], Hasher)
Attributes
- Inherited from:
- SecretApiSyntax (hidden)
extension [T](optSecret: Option[Secret[T]])(implicit evidence$1: SecretStrategy[T], evidence$2: Monoid[T], Hasher)
Attributes
- Inherited from:
- SecretApiSyntax (hidden)
In this article