Represents the response to an token request.
More...
#import <OIDTokenResponse.h>
Inherits NSObject, <NSCopying>, and <NSSecureCoding>.
|
OIDTokenRequest * | request |
| The request which was serviced.
|
|
NSString * | accessToken |
| The access token generated by the authorization server. Set when the response_type requested includes 'token'. More...
|
|
NSDate * | accessTokenExpirationDate |
| The approximate expiration date & time of the access token. More...
|
|
NSString * | tokenType |
| Typically "Bearer" when present. Otherwise, another token_type value that the Client has negotiated with the Authorization Server. Set when the response_type requested includes 'token'. More...
|
|
NSString * | idToken |
| ID Token value associated with the authenticated session. Set when the response_type requested includes 'id_token'. More...
|
|
NSString * | refreshToken |
| The refresh token, which can be used to obtain new access tokens using the same authorization grant. More...
|
|
NSString * | scope |
| The scope of the access token. OPTIONAL, if identical to the scopes requested, otherwise, REQUIRED. More...
|
|
NSDictionary< NSString *, NSObject< NSCopying > * > * | additionalParameters |
| Additional parameters returned from the token server.
|
|
◆ initWithRequest:parameters:()
- (instancetype) initWithRequest: |
|
(OIDTokenRequest *) |
request |
parameters: |
|
(NSDictionary< NSString *, NSObject< NSCopying > * > *) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Designated initializer.
- Parameters
-
request | The serviced request. |
parameters | The decoded parameters returned from the Authorization Server. |
◆ accessToken
- (NSString*) accessToken |
|
readnonatomicassign |
◆ accessTokenExpirationDate
- (NSDate*) accessTokenExpirationDate |
|
readnonatomicassign |
◆ idToken
◆ refreshToken
- (NSString*) refreshToken |
|
readnonatomicassign |
◆ scope
◆ tokenType
The documentation for this class was generated from the following file:
- /Users/atmahajan/MobileAccess-SDK/ios/sdk/MFAuthLib/AppAuth.framework/Headers/OIDTokenResponse.h