TGFAuthenticatorDescriptor
Objective-C
@interface TGFAuthenticatorDescriptor : NSObject
Swift
class TGFAuthenticatorDescriptor : NSObject
Provides descriptive information about a FIDO2 authenticator.
@since 1.0.0
-
Initializes a new authenticator descriptor with a specified user-friendly name.
@since 1.0.0
Declaration
Objective-C
- (nonnull instancetype)initWithFriendlyName:(nonnull NSString *)friendlyName;Swift
init(friendlyName: String)Parameters
friendlyNameA user-friendly name for the authenticator (e.g., “My iPhone’s Face ID”).
Return Value
An initialized
TGFAuthenticatorDescriptorobject. -
The user-friendly name of the authenticator.
@since 1.0.0
Declaration
Objective-C
@property (copy) NSString *_Nonnull friendlyName;Swift
var friendlyName: String { get set }