NoneAuthenticator
public class NoneAuthenticator : DefaultDeviceAuthenticator
An authenticator that does not require any user interaction.
This authenticator is used when the authentication type is none.
-
The type of authenticator, which is
.none.Declaration
Swift
public override func type() -> DeviceBindingAuthenticationType -
register()Asynchronous -
authenticate(keyTag:Asynchronous) Declaration
Swift
public override func authenticate(keyTag: String) async -> Result<SecKey, Error>Return Value
A
Resultcontaining theSecKeyon success, or anErroron failure. -
Checks if the authenticator is supported. Since this authenticator has no special requirements, it is always supported.
Declaration
Swift
public override func isSupported(attestation: Attestation) -> BoolReturn Value
true -
deleteKeys()AsynchronousDeletes all keys associated with this authenticator.
Declaration
Swift
public override func deleteKeys() async throws
View on GitHub