NSString(STSUtility)
@interface NSString (STSUtility)
A helper category on NSString.
-
Get the payload of a JSON Web Token.
Declaration
Objective-C
- (nullable NSDictionary *)jwtPayload;
Swift
func jwtPayload() -> [AnyHashable : Any]?
Return Value
The payload of a JSON Web Token. Nil if self is not a valid JWT.