TradableAPIRefreshAuthenticationRequest

@objc public class TradableAPIRefreshAuthenticationRequest: NSObject

A request to refresh the authentication that was granted when the refresh token was issued.

  • The value of the refresh token.

    Declaration

    Swift

    public let refreshTokenValue: String
  • The client secret of the app that is requesting the refresh. This is a secret that should never be in any frontend code. This is not required when refreshing the token for an auto-generated demo account.

    Declaration

    Swift

    public let appSecret: String?
  • Simple description of this object.

    Declaration

    Swift

    public override var description: String
  • Creates an object with given parameters.

    Declaration

    Swift

    public init(refreshTokenValue: String, appSecret: String? = nil)