MDAuthCredentials

public struct MDAuthCredentials : Encodable

Structure to store credentials when attempting to login

  • Authentication modes provided by MangaDex

    See more

    Declaration

    Swift

    public enum AuthMode : String
  • The username to use

    Must be between 1 and 64 characters

    Declaration

    Swift

    public let username: String
  • The password to use

    Must be between 8 and 1024 characters

    Declaration

    Swift

    public let password: String
  • Undocumented

    Declaration

    Swift

    public init(username: String, password: String)