Clients
public struct Clients
Undocumented
-
Registers an application.
Declaration
Swift
public static func register(clientName: String, redirectURI: String = "urn:ietf:wg:oauth:2.0:oob", scopes: [AccessScope], website: String? = nil) -> Request<ClientApplication>
Parameters
appName
Name of your application.
redirectURI
Where the user should be redirected after authorization (for no redirect, omit this parameter).
scopes
Application’s access scopes.
website
URL to the homepage of your app.
Return Value
Request for
ClientApplication
.