Represents a registration request.
More...
#import <OIDRegistrationRequest.h>
◆ initWithConfiguration:redirectURIs:responseTypes:grantTypes:subjectType:tokenEndpointAuthMethod:additionalParameters:()
- (instancetype) initWithConfiguration: |
|
(OIDServiceConfiguration *) |
configuration |
redirectURIs: |
|
(NSArray< NSURL * > *) |
redirectURIs |
responseTypes: |
|
(nullable NSArray< NSString * > *) |
responseTypes |
grantTypes: |
|
(nullable NSArray< NSString * > *) |
grantTypes |
subjectType: |
|
(nullable NSString *) |
subjectType |
tokenEndpointAuthMethod: |
|
(nullable NSString *) |
tokenEndpointAuthMethod |
additionalParameters: |
|
(nullable NSDictionary< NSString *, NSString * > *) |
additionalParameters |
|
|
| |
Create a Client Registration Request to an OpenID Provider that supports open Dynamic Registration.
- Parameters
-
configuration | The service's configuration. |
redirectURIs | The redirect URIs to register for the client. |
responseTypes | The response types to register for the client. |
grantTypes | The grant types to register for the client. |
subjectType | The subject type to register for the client. |
tokenEndpointAuthMethod | The token endpoint authentication method to register for the client. |
additionalParameters | The client's additional registration request parameters. |
◆ initWithConfiguration:redirectURIs:responseTypes:grantTypes:subjectType:tokenEndpointAuthMethod:initialAccessToken:additionalParameters:()
- (instancetype) initWithConfiguration: |
|
(OIDServiceConfiguration *) |
configuration |
redirectURIs: |
|
(NSArray< NSURL * > *) |
redirectURIs |
responseTypes: |
|
(nullable NSArray< NSString * > *) |
responseTypes |
grantTypes: |
|
(nullable NSArray< NSString * > *) |
grantTypes |
subjectType: |
|
(nullable NSString *) |
subjectType |
tokenEndpointAuthMethod: |
|
(nullable NSString *) |
tokenEndpointAuthMethod |
initialAccessToken: |
|
(nullable NSString *) |
initialAccessToken |
additionalParameters: |
|
(nullable NSDictionary< NSString *, NSString * > *) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Designated initializer.
- Parameters
-
configuration | The service's configuration. |
redirectURIs | The redirect URIs to register for the client. |
responseTypes | The response types to register for the client. |
grantTypes | The grant types to register for the client. |
subjectType | The subject type to register for the client. |
tokenEndpointAuthMethod | The token endpoint authentication method to register for the client. |
initialAccessToken | The initial access token to access the Client Registration Endpoint (if required by the OpenID Provider). |
additionalParameters | The client's additional registration request parameters. |
- See also
- https://openid.net/specs/openid-connect-registration-1_0.html#ClientRegistration
◆ URLRequest()
- (NSURLRequest *) URLRequest |
|
|
|
Constructs an NSURLRequest
representing the registration request.
- Returns
- An
NSURLRequest
representing the registration request.
◆ applicationType
- (NSString*) applicationType |
|
readnonatomicassign |
◆ configuration
The service's configuration.
◆ grantTypes
- (NSArray<NSString *>*) grantTypes |
|
readnonatomicassign |
◆ initialAccessToken
- (NSString*) initialAccessToken |
|
readnonatomicassign |
◆ redirectURIs
- (NSArray<NSURL *>*) redirectURIs |
|
readnonatomicassign |
◆ responseTypes
- (NSArray<NSString *>*) responseTypes |
|
readnonatomicassign |
◆ subjectType
- (NSString*) subjectType |
|
readnonatomicassign |
◆ tokenEndpointAuthenticationMethod
- (NSString*) tokenEndpointAuthenticationMethod |
|
readnonatomicassign |
The documentation for this class was generated from the following file: