mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-23 21:35:04 +03:00
25 lines
665 B
Objective-C
25 lines
665 B
Objective-C
//
|
|
// 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 too 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
|
|
};
|