mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-12 00:25:25 +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
25 lines
664 B
Objective-C
Executable File
25 lines
664 B
Objective-C
Executable File
//
|
|
// JWT.h
|
|
// JWT
|
|
//
|
|
// Created by Klaas Pieter Annema on 31-05-13.
|
|
// Copyright (c) 2013 Karma. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
/**
|
|
@discussion JWT is a general interface for decoding and encoding.
|
|
Now it is to complex and fat to support.
|
|
Possible solution: split interface into several pieces.
|
|
|
|
JWT_1_0 -> JWT with plain old functions.
|
|
JWT_2_0 -> JWT with builder usage.
|
|
JWT_3_0 -> JWT with splitted apart algorithm data and payload data.
|
|
*/
|
|
@interface JWT : NSObject @end
|
|
|
|
typedef NS_OPTIONS(NSInteger, JWTCodingDecodingOptions) {
|
|
JWTCodingDecodingOptionsNone = 0,
|
|
JWTCodingDecodingOptionsSkipVerification = 1
|
|
};
|