SMIUserVerification
Objective-C
@interface SMIUserVerification : NSObject <SMIAuthorization>
Swift
class UserVerification : NSObject, SMIAuthorization
This class contains information associated with a verified user.
-
The customer identity token.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull customerIdentityToken;
Swift
var customerIdentityToken: String { get }
-
The type of authorization type for the customer identity token.
Declaration
Objective-C
@property (nonatomic, readonly) SMIAuthorizationTypes type;
Swift
var type: AuthorizationTypes { get }
-
Unavailable
This constructor is not available.
Declaration
Objective-C
- (nonnull instancetype)init;
-
Generates an instance of an
SMIUserVerification
object, which is used to pass in user verification credentials.Declaration
Objective-C
- (nonnull instancetype) initWithCustomerIdentityToken:(nonnull NSString *)customerIdentityToken type:(SMIAuthorizationTypes)type;
Swift
init(customerIdentityToken: String, type: AuthorizationTypes)
Parameters
customerIdentityToken
The authentication token that is used to verify the user with the service.
type
The authorization type for the customer identity token.