HereSDKApplicationAuthenticationInfo
@interface HereSDKApplicationAuthenticationInfo : NSObject
The class for authenticating the application.
-
The creation time of this info *
Declaration
Objective-C
@property (readonly, nonatomic) NSDate *_Nonnull creationTime;
Swift
var creationTime: Date { get }
-
The verification hash of the authInfo. Should be created in the following format: hs384(appId +
.
+creationTime
), signed with the application secret.Declaration
Objective-C
@property (readonly, nonatomic) NSString *_Nonnull verificationHash;
Swift
var verificationHash: String { get }
-
Creates a
HereSDKApplicationAuthenticationInfo
instance HereSDKManagerDeclaration
Objective-C
+ (nonnull instancetype) applicationAuthenticationInfoWithCreationTime:(nonnull NSDate *)creationTime verificationHash: (nonnull NSString *)verificationHash;
Swift
convenience init(creationTime: Date, verificationHash: String)
Parameters
creationTime
the creation time of the
verificationHash
verificationHash
the
verificationHash
Return Value
a new
HereSDKApplicationAuthenticationInfo
instance