ChallengeKeyOptions constructor
ChallengeKeyOptions({
- required ByteBuffer challenge,
- RegisterKeyOptions? registerKey,
- required Scope scope,
Implementation
ChallengeKeyOptions({
/// A challenge as emitted by the Verified Access Web API.
required ByteBuffer challenge,
/// If present, registers the challenged key with the specified
/// `scope`'s token. The key can then be associated with a
/// certificate and used like any other signing key. Subsequent calls to
/// this function will then generate a new Enterprise Key in the specified
/// `scope`.
RegisterKeyOptions? registerKey,
/// Which Enterprise Key to challenge.
required Scope scope,
}) : _wrapped = $js.ChallengeKeyOptions(
challenge: challenge.toJS,
registerKey: registerKey?.toJS,
scope: scope.toJS,
);