Application

@Serializable
data class Application(val name: String, val website: String? = null, val vapidKey: String? = null, val clientId: String? = null, val clientSecret: String? = null)

Represents an application that interfaces with the REST API to access accounts or post statuses.

Constructors

Link copied to clipboard
constructor(name: String, website: String? = null, vapidKey: String? = null, clientId: String? = null, clientSecret: String? = null)

Properties

Link copied to clipboard
val clientId: String? = null

Client ID key, used for obtaining OAuth tokens.

Link copied to clipboard
val clientSecret: String? = null

Client secret key, used for obtaining OAuth tokens.

Link copied to clipboard

The name of your application.

Link copied to clipboard
val vapidKey: String? = null

Used for Push Streaming API.

Link copied to clipboard
val website: String? = null

The website associated with your application.