OAuthCredentials

public struct OAuthCredentials

Represents the OAuth credentials used to authenticate an application with the Wing API.

  • id

    The client id.

    Declaration

    Swift

    public var id: String
  • The client secret.

    Declaration

    Swift

    public var secret: String
  • Initializes a OAuthCredentials structure.

    Declaration

    Swift

    public init(id: String, secret: String)

    Parameters

    id

    The client id of your application.

    secret

    The client secret of your application.