AppAuth
OIDTokenUtilities.h
Go to the documentation of this file.
1 
19 #import <Foundation/Foundation.h>
20 
21 NS_ASSUME_NONNULL_BEGIN
22 
25 @interface OIDTokenUtilities : NSObject
26 
30 - (instancetype)init NS_UNAVAILABLE;
31 
38 + (NSString *)encodeBase64urlNoPadding:(NSData *)data;
39 
45 + (nullable NSString *)randomURLSafeStringWithSize:(NSUInteger)size;
46 
51 + (NSData *)sha256:(NSString *)inputString;
52 
57 + (nullable NSString *)redact:(nullable NSString *)inputString;
58 
63 + (NSString*)formUrlEncode:(NSString*)inputString;
64 
65 @end
66 
67 NS_ASSUME_NONNULL_END
OIDTokenUtilities
Provides data encoding/decoding methods, random string generators, etc.
Definition: OIDTokenUtilities.h:25