zdk.objc
ZDKBanafoServiceState.h
1//
2// ZDKBanafoServiceState.h
3// ZDK
4//
5
6#ifndef ZDKBanafoServiceState_h
7#define ZDKBanafoServiceState_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKBanafoServiceStateType.h"
11#import "ZDKBanafoServiceErrorType.h"
12#import "ZDKZHandle.h"
13
14NS_ASSUME_NONNULL_BEGIN
15
21
30@property(nonatomic, readonly) ZDKBanafoServiceStateType state;
31
44@property(nonatomic, readonly) int networkErrorCode;
45
54@property(nonatomic, readonly) ZDKBanafoServiceErrorType serviceErrorType;
55
62@property(nonatomic, readonly) NSString* _Nullable reason;
63
72@property(nonatomic, readonly) NSString* _Nullable accessToken;
73
83@property(nonatomic, readonly) NSString* _Nullable refreshToken;
84
94@property(nonatomic, readonly) NSString* _Nullable userCode;
95
105@property(nonatomic, readonly) NSString* _Nullable verificationURI;
106
107-(NSString*)handlesDescription;
108
109@end
110
111NS_ASSUME_NONNULL_END
112
113#endif
Banafo Service state.
Definition: ZDKBanafoServiceState.h:20
NSString *_Nullable accessToken
The new Banafo Service Access Token.
Definition: ZDKBanafoServiceState.h:72
ZDKBanafoServiceErrorType serviceErrorType
The Banafo Service error.
Definition: ZDKBanafoServiceState.h:54
NSString *_Nullable reason
HTTP failure reason.
Definition: ZDKBanafoServiceState.h:62
NSString *_Nullable verificationURI
The URI for verifying the new device.
Definition: ZDKBanafoServiceState.h:105
NSString *_Nullable userCode
The user code for Authorizing the Banafo Service verification.
Definition: ZDKBanafoServiceState.h:94
ZDKBanafoServiceStateType state
The Banafo Service state.
Definition: ZDKBanafoServiceState.h:30
int networkErrorCode
The network error code.
Definition: ZDKBanafoServiceState.h:44
NSString *_Nullable refreshToken
The new Banafo Service Refresh Token.
Definition: ZDKBanafoServiceState.h:83
Definition: ZDKZHandle.h:13