ClaimSubject Property
The subject identifies the principal of the JWT.
Syntax
ANSI (Cross Platform) char* GetClaimSubject();
int SetClaimSubject(const char* lpszClaimSubject); Unicode (Windows) LPWSTR GetClaimSubject();
INT SetClaimSubject(LPCWSTR lpszClaimSubject);
@property (nonatomic,readwrite,assign,getter=claimSubject,setter=setClaimSubject:) NSString* claimSubject; - (NSString*)claimSubject; - (void)setClaimSubject:(NSString*)newClaimSubject;
#define PID_JWT_CLAIMSUBJECT 16 IPWORKSAUTH_EXTERNAL void* IPWORKSAUTH_CALL IPWorksAuth_JWT_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSAUTH_EXTERNAL int IPWORKSAUTH_CALL IPWorksAuth_JWT_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property holds the subject which identifies the principal of the JWT. The value is a case-sensitive string.
This property corresponds to the sub JSON property.
Data Type
String