AppAuth
Instance Methods | Properties | List of all members
OIDServiceConfiguration Class Reference

Represents the information needed to construct a OIDAuthorizationService. More...

#import <OIDServiceConfiguration.h>

Inheritance diagram for OIDServiceConfiguration:

Instance Methods

(instancetype) - initWithAuthorizationEndpoint:tokenEndpoint:
 
(instancetype) - initWithAuthorizationEndpoint:tokenEndpoint:registrationEndpoint:
 
(instancetype) - initWithAuthorizationEndpoint:tokenEndpoint:issuer:
 
(instancetype) - initWithAuthorizationEndpoint:tokenEndpoint:issuer:registrationEndpoint:
 
(instancetype) - initWithAuthorizationEndpoint:tokenEndpoint:issuer:registrationEndpoint:endSessionEndpoint:
 
(instancetype) - initWithDiscoveryDocument:
 

Properties

NSURL * authorizationEndpoint
 The authorization endpoint URI.
 
NSURL * tokenEndpoint
 The token exchange and refresh endpoint URI.
 
NSURL * issuer
 The OpenID Connect issuer.
 
NSURL * registrationEndpoint
 The dynamic client registration endpoint URI.
 
NSURL * endSessionEndpoint
 The end session logout endpoint URI.
 
OIDServiceDiscoverydiscoveryDocument
 The discovery document.
 

Detailed Description

Represents the information needed to construct a OIDAuthorizationService.

Method Documentation

◆ initWithAuthorizationEndpoint:tokenEndpoint:()

- (instancetype) initWithAuthorizationEndpoint: (NSURL *)  authorizationEndpoint
tokenEndpoint: (NSURL *)  tokenEndpoint 
Parameters
authorizationEndpointThe authorization endpoint URI.
tokenEndpointThe token exchange and refresh endpoint URI.

◆ initWithAuthorizationEndpoint:tokenEndpoint:issuer:()

- (instancetype) initWithAuthorizationEndpoint: (NSURL *)  authorizationEndpoint
tokenEndpoint: (NSURL *)  tokenEndpoint
issuer: (nullable NSURL *)  issuer 
Parameters
authorizationEndpointThe authorization endpoint URI.
tokenEndpointThe token exchange and refresh endpoint URI.
issuerThe OpenID Connect issuer.

◆ initWithAuthorizationEndpoint:tokenEndpoint:issuer:registrationEndpoint:()

- (instancetype) initWithAuthorizationEndpoint: (NSURL *)  authorizationEndpoint
tokenEndpoint: (NSURL *)  tokenEndpoint
issuer: (nullable NSURL *)  issuer
registrationEndpoint: (nullable NSURL *)  registrationEndpoint 
Parameters
authorizationEndpointThe authorization endpoint URI.
tokenEndpointThe token exchange and refresh endpoint URI.
issuerThe OpenID Connect issuer.
registrationEndpointThe dynamic client registration endpoint URI.

◆ initWithAuthorizationEndpoint:tokenEndpoint:issuer:registrationEndpoint:endSessionEndpoint:()

- (instancetype) initWithAuthorizationEndpoint: (NSURL *)  authorizationEndpoint
tokenEndpoint: (NSURL *)  tokenEndpoint
issuer: (nullable NSURL *)  issuer
registrationEndpoint: (nullable NSURL *)  registrationEndpoint
endSessionEndpoint: (nullable NSURL *)  endSessionEndpoint 
Parameters
authorizationEndpointThe authorization endpoint URI.
tokenEndpointThe token exchange and refresh endpoint URI.
issuerThe OpenID Connect issuer.
registrationEndpointThe dynamic client registration endpoint URI.
endSessionEndpointThe end session endpoint (logout) URI.

◆ initWithAuthorizationEndpoint:tokenEndpoint:registrationEndpoint:()

- (instancetype) initWithAuthorizationEndpoint: (NSURL *)  authorizationEndpoint
tokenEndpoint: (NSURL *)  tokenEndpoint
registrationEndpoint: (nullable NSURL *)  registrationEndpoint 
Parameters
authorizationEndpointThe authorization endpoint URI.
tokenEndpointThe token exchange and refresh endpoint URI.
registrationEndpointThe dynamic client registration endpoint URI.

◆ initWithDiscoveryDocument:()

- (instancetype) initWithDiscoveryDocument: (OIDServiceDiscovery *)  discoveryDocument
Parameters
discoveryDocumentThe discovery document from which to extract the required OAuth configuration.

The documentation for this class was generated from the following file: