OpenIdConfiguration
public struct OpenIdConfiguration : Codable, Sendable
Struct representing the OpenID Connect configuration.
-
The URL of the authorization endpoint.
Declaration
Swift
public var authorizationEndpoint: String -
The URL of the token endpoint.
Declaration
Swift
public var tokenEndpoint: String -
The URL of the userinfo endpoint.
Declaration
Swift
public var userinfoEndpoint: String -
The URL of the end session endpoint.
Declaration
Swift
public var endSessionEndpoint: String -
The URL of the revocation endpoint.
Declaration
Swift
public var revocationEndpoint: String -
The URL of the end session endpoint.
Declaration
Swift
public var pingEndsessionEndpoint: String? -
The URL of the pushed authorization request endpoint (PAR, RFC 9126).
Declaration
Swift
public var pushedAuthorizationRequestEndpoint: String? -
The URL of the device authorization endpoint (RFC 8628).
Declaration
Swift
public var deviceAuthorizationEndpoint: String? -
init(authorizationEndpoint:tokenEndpoint: userinfoEndpoint: endSessionEndpoint: revocationEndpoint: pingEndsessionEndpoint: pushedAuthorizationRequestEndpoint: deviceAuthorizationEndpoint: ) Initializes a new
OpenIdConfigurationinstance.Declaration
Swift
public init( authorizationEndpoint: String, tokenEndpoint: String, userinfoEndpoint: String, endSessionEndpoint: String, revocationEndpoint: String, pingEndsessionEndpoint: String? = nil, pushedAuthorizationRequestEndpoint: String? = nil, deviceAuthorizationEndpoint: String? = nil )Parameters
authorizationEndpointThe URL of the authorization endpoint.
tokenEndpointThe URL of the token endpoint.
userinfoEndpointThe URL of the userinfo endpoint.
endSessionEndpointThe URL of the end session endpoint.
revocationEndpointThe URL of the revocation endpoint.
pingEndsessionEndpointThe URL of the Ping end IDP session endpoint.
pushedAuthorizationRequestEndpointThe URL of the PAR endpoint.
deviceAuthorizationEndpointThe URL of the device authorization endpoint (RFC 8628).
View on GitHub