mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 16:20:26 +08:00
* Add JWT Library to ios project * Add new option PublicKey to Info.plist * Implement code signing mechanism Update JWT library to 3.0.0-beta4 Implement signature verification mechanism * Undo redundant changes * Minor improvements * Minor fixes Add additional checking for specific update situations Fix bugs Refactor method names * Add new dependencies to podspec * Minor improvements Fix log messages
30 lines
720 B
Objective-C
Executable File
30 lines
720 B
Objective-C
Executable File
//
|
|
// JWTClaimsSet.m
|
|
// JWT
|
|
//
|
|
// Created by Klaas Pieter Annema on 31-05-13.
|
|
// Copyright (c) 2013 Karma. All rights reserved.
|
|
//
|
|
|
|
#import "JWTClaimsSet.h"
|
|
|
|
@implementation JWTClaimsSet
|
|
|
|
- (id)copyWithZone:(NSZone *)zone {
|
|
JWTClaimsSet *newClaimsSet = [[self.class alloc] init];
|
|
|
|
newClaimsSet.issuer = self.issuer;
|
|
newClaimsSet.subject = self.subject;
|
|
newClaimsSet.audience = self.audience;
|
|
newClaimsSet.expirationDate = self.expirationDate;
|
|
newClaimsSet.notBeforeDate = self.notBeforeDate;
|
|
newClaimsSet.issuedAt = self.issuedAt;
|
|
newClaimsSet.identifier = self.identifier;
|
|
newClaimsSet.type = self.type;
|
|
newClaimsSet.scope = self.scope;
|
|
|
|
return newClaimsSet;
|
|
}
|
|
|
|
@end
|