Secret

A secret string, such as a token or a client secret, that prints as a placeholder.

toString never shows the value, and reading it requires opting in to SecretAccess. On the JVM the value is a transient field, so reflection-based serializers skip it.

构造函数(Constructors)

Link copied to clipboard
constructor(value: String)

函数

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

返回该秘密值。

Link copied to clipboard
open override fun toString(): String