Config
struct Config : Decodable, Equatable
The struct contains the information required for authentication.
-
The client identifier.
@see “The OAuth 2.0 Authorization Framework (RFC 6749), Section 4 https://tools.ietf.org/html/rfc6749#section-4” @see “The OAuth 2.0 Authorization Framework (RFC 6749), Section 4.1.1 https://tools.ietf.org/html/rfc6749#section-4.1.1”
Declaration
Swift
var clientId: String
-
The client secret.
@see “OpenID Connect Dynamic Client Registration 1.0, Section 3.2 https://openid.net/specs/openid-connect-discovery-1_0.html#rfc.section.3.2”
Declaration
Swift
var clientSecret: String
-
The domain of authentication server
Declaration
Swift
var domain: String
-
The redirect URI’s.
@see “https://tools.ietf.org/html/rfc6749#section-3.1.2 The OAuth 2.0 Authorization Framework” (RFC 6749), Section 3.1.2
Declaration
Swift
var redirectUri: String
-
Undocumented
See moreDeclaration
Swift
enum CodingKeys : String, CodingKey