TGFFido2Response
Objective-C
@protocol TGFFido2Response <NSObject>
Swift
protocol TGFFido2Response
A FIDO2 response to a registration or authentication request.
@since 1.0.0
-
The raw JSON string representation of the FIDO2 response.
Declaration
Objective-C
- (NSString *)raw;Swift
func raw() -> Any!Return Value
The response as a JSON string.
-
The FIDO2 operation type (e.g., registration or authentication) that this response corresponds to.
Return Value
The operation type.
-
The credential ID generated during a registration, or the ID of the credential used for authentication.
Declaration
Objective-C
- (NSData *)credentialId;Swift
func credentialId() -> Any!Return Value
The credential ID @since 4.0.0
-
The attestation object containing the authenticator’s attestation data. This is only present in registration responses.
Declaration
Objective-C
- (NSData *)attestationObject;Swift
func attestationObject() -> Any!Return Value
The attestation object @since 4.0.0
-
The user handle (user ID) provided by the Relying Party.
Declaration
Objective-C
- (NSData *)userHandle;Swift
func userHandle() -> Any!Return Value
The user handle @since 4.0.0
-
The signature generated by the authenticator over the client data. This is only present in authentication responses.
Declaration
Objective-C
- (NSData *)signature;Swift
func signature() -> Any!Return Value
The signature @since 4.0.0
-
The authenticator data, which contains information about the authenticator and the operation performed.
Declaration
Objective-C
- (NSData *)authenticatorData;Swift
func authenticatorData() -> Any!Return Value
The authenticator data @since 4.0.0
-
The SHA-256 hash of the client data, which is signed by the authenticator.
Declaration
Objective-C
- (NSData *)clientDataHash;Swift
func clientDataHash() -> Any!Return Value
The client data hash @since 4.0.0
-
The identifier of the Relying Party for which the operation was performed.
Declaration
Objective-C
- (NSString *)relyingPartyIdentifier;Swift
func relyingPartyIdentifier() -> Any!Return Value
The Relying Party identifier @since 4.0.0
-
The username associated with the credential.
Declaration
Objective-C
- (NSString *)username;Swift
func username() -> Any!Return Value
The username @since 4.0.0