PleromaOauthApp
public struct PleromaOauthApp : Codable, Identifiable
Undocumented
-
Declaration
Swift
public var id: Int
-
Application Name
Declaration
Swift
public var name: String?
-
Undocumented
Declaration
Swift
public var clientId: String?
-
Undocumented
Declaration
Swift
public var clientSecret: String?
-
Where the user is to be redirected after authorization. A value of urn:ietf:wg:oauth:2.0:oob means the user will be given an authorization code instead of a redirect.
Declaration
Swift
public var redirectUri: String?
-
Is the app trusted?
Declaration
Swift
public var trusted: Bool?
-
A URL to the homepage of the app
Declaration
Swift
public var website: String?
-
oAuth scopes
Declaration
Swift
public var scopes: [String]?
-
Undocumented
Declaration
Swift
public init(id: Int, name: String? = nil, clientId: String? = nil, clientSecret: String? = nil, redirectUri: String? = nil, trusted: Bool? = nil, website: String? = nil, scopes: [String]? = nil)