Value.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string secret, string contentType)

Create a #SecretValue for the secret data passed in.

The secret data is copied into non-pageable 'secure' memory.

If the length is less than zero, then secret is assumed to be null-terminated.

Parameters

secretthe secret data
contentTypethe content type of the data

Returns

the new #SecretValue