TGFFido2ClientFactory

Objective-C


@interface TGFFido2ClientFactory : NSObject

Swift

class TGFFido2ClientFactory : NSObject

A factory that creates TGFFido2Client objects.

@since 1.0.0

  • Creates a FIDO2 client instance that processes FIDO2 requests.

    Warning

    The instance of TGFFido2Client MUST be retained through the FIDO2 operation.

    @since 1.3.0

    Declaration

    Objective-C

    + (TGFFido2Client *_Nullable)clientWithError:
        (NSError *_Nullable *_Nullable)error;

    Swift

    class func client() throws -> TGFFido2Client

    Parameters

    error

    On input, a pointer to an error object. If an error occurs during initialization, this pointer is set to an NSError object containing information about the error. You may specify nil for this parameter if you are not interested in the error information.

    Return Value

    An initialized TGFFido2Client object on success, or nil if an error occurred.