Twift_AuthenticationTypeRepresentation - daneden/Twift GitHub Wiki

Twift.AuthenticationTypeRepresentation

A convenience enum for representing AuthenticationType without associated values in auth-related errors

public enum AuthenticationTypeRepresentation: String 

Inheritance

String

Enumeration Cases

userAccessTokens

A value representing AuthenticationType.userAccessTokens(_, _)

@available(*, deprecated, message: "OAuth 1.0a authentication will be removed in a future stable version of Twift. Use the `AuthenticationType.oauth2UserContext` instead.")
    case userAccessTokens

oauth2UserAuth

A value representing AuthenticationType.oauth2UserContext(_)

case oauth2UserAuth

appOnly

A value representing AuthenticationType.appOnly(_)

case appOnly