Inherits from NSObject
Declared in SPiDJwt.h
SPiDJwt.m

Overview

Contains a JWT token

Tasks

Properties

Public methods

Private methods

Properties

aud

@property (strong, nonatomic) NSString *aud

exp

@property (strong, nonatomic) NSDate *exp

iss

@property (strong, nonatomic) NSString *iss

sub

@property (strong, nonatomic) NSString *sub

tokenType

@property (strong, nonatomic) NSString *tokenType

tokenValue

@property (strong, nonatomic) NSString *tokenValue

Class Methods

jwtTokenWithDictionary:

Creates a JWT token from a dictionary

+ (SPiDJwt *)jwtTokenWithDictionary:(NSDictionary *)dictionary

Parameters

dictionary

Dictionary containing JWT parameters

Return Value

SPiDJwt

Declared In

SPiDJwt.h

Instance Methods

encodedJwtString

- (NSString *)encodedJwtString

validateJwt

- (BOOL)validateJwt