-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #337 from radarlabs/track-verified-callbacks
Track verified callbacks
- Loading branch information
Showing
23 changed files
with
447 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'RadarSDK' | ||
s.version = '3.12.0' | ||
s.version = '3.13.0' | ||
s.summary = 'iOS SDK for Radar, the leading geofencing and location tracking platform' | ||
s.homepage = 'https://radar.com' | ||
s.author = { 'Radar Labs, Inc.' => '[email protected]' } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// | ||
// RadarVerifiedLocationToken.h | ||
// RadarSDK | ||
// | ||
// Copyright © 2024 Radar Labs, Inc. All rights reserved. | ||
// | ||
|
||
#import "RadarEvent.h" | ||
#import "RadarUser.h" | ||
#import <Foundation/Foundation.h> | ||
|
||
/** | ||
Represents a user's verified location. | ||
@see https://radar.com/documentation/fraud | ||
*/ | ||
@interface RadarVerifiedLocationToken : NSObject | ||
|
||
/** | ||
The user. | ||
*/ | ||
@property (nullable, strong, nonatomic, readonly) RadarUser *user; | ||
|
||
/** | ||
An array of events. | ||
*/ | ||
@property (nullable, strong, nonatomic, readonly) NSArray<RadarEvent *> *events; | ||
|
||
/** | ||
A signed JSON Web Token (JWT) containing the user and array of events. Verify the token server-side using your secret key. | ||
*/ | ||
@property (nullable, copy, nonatomic, readonly) NSString *token; | ||
|
||
/** | ||
The datetime when the token expires. | ||
*/ | ||
@property (nullable, copy, nonatomic, readonly) NSDate *expiresAt; | ||
|
||
/** | ||
The number of seconds until the token expires. | ||
*/ | ||
@property (assign, nonatomic, readonly) NSTimeInterval expiresIn; | ||
|
||
/** | ||
A boolean indicating whether the user passed all jurisdiction and fraud detection checks. | ||
*/ | ||
@property (assign, nonatomic, readonly) bool passed; | ||
|
||
- (NSDictionary *_Nonnull)dictionaryValue; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.