Represents the response to an token request.
More...
#import <OIDTokenResponse.h>
|
OIDTokenRequest * | request |
| The request which was serviced.
|
|
NSString * | accessToken |
| The access token generated by the authorization server. 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. More...
|
|
NSString * | idToken |
| ID Token value associated with the authenticated session. Always present for the authorization code grant exchange when OpenID Connect is used, optional for responses to access token refresh requests. Note that AppAuth does NOT verify the JWT signature. Users of AppAuth are encouraged to verifying the JWT signature using the validation library of their choosing. 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: