Go to the documentation of this file.
19 #import <Foundation/Foundation.h>
24 NS_ASSUME_NONNULL_BEGIN
47 @property(nonatomic, readonly, nullable) NSString *
state;
54 @property(nonatomic, readonly, nullable) NSString *
accessToken;
70 @property(nonatomic, readonly, nullable) NSString *
tokenType;
78 @property(nonatomic, readonly, nullable) NSString *
idToken;
85 @property(nonatomic, readonly, nullable) NSString *
scope;
89 @property(nonatomic, readonly, nullable)
95 - (instancetype)init NS_UNAVAILABLE;
105 parameters:(NSDictionary<NSString *, NSObject<NSCopying> *> *)parameters
106 NS_DESIGNATED_INITIALIZER;
123 - (nullable
OIDTokenRequest *)tokenExchangeRequestWithAdditionalParameters:
124 (nullable NSDictionary<NSString *, NSString *> *)additionalParameters;
128 NS_ASSUME_NONNULL_END
NSDictionary< NSString *, NSObject< NSCopying > * > * additionalParameters
Additional parameters returned from the authorization server.
Definition: OIDAuthorizationResponse.h:90
Represents the response to an authorization request.
Definition: OIDAuthorizationResponse.h:31
NSDate * accessTokenExpirationDate
The approximate expiration date & time of the access token. @discussion Set when the response_type re...
Definition: OIDAuthorizationResponse.h:62
Represents an authorization request.
Definition: OIDAuthorizationRequest.h:41
NSString * authorizationCode
The authorization code generated by the authorization server. @discussion Set when the response_type ...
Definition: OIDAuthorizationResponse.h:41
NSString * state
REQUIRED if the "state" parameter was present in the client authorization request....
Definition: OIDAuthorizationResponse.h:47
NSString * scope
The scope of the access token. OPTIONAL, if identical to the scopes requested, otherwise,...
Definition: OIDAuthorizationResponse.h:85
nullable OIDTokenRequest * tokenExchangeRequest()
Creates a token request suitable for exchanging an authorization code for an access token.
OIDAuthorizationRequest * request
The request which was serviced.
Definition: OIDAuthorizationResponse.h:35
Represents a token request.
Definition: OIDTokenRequest.h:34
NSString * idToken
ID Token value associated with the authenticated session. @discussion Set when the response_type requ...
Definition: OIDAuthorizationResponse.h:78
NSString * tokenType
Typically "Bearer" when present. Otherwise, another token_type value that the Client has negotiated w...
Definition: OIDAuthorizationResponse.h:70
NSString * accessToken
The access token generated by the authorization server. @discussion Set when the response_type reques...
Definition: OIDAuthorizationResponse.h:54