PixivAuth class

Constructors

PixivAuth()

Properties

deviceName String
latefinal
hashCode int
The hash code for this object.
no setterinherited
languageGetter String Function()
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetIPGetter String Function()
latefinal

Methods

generateCodeChallenge(String s) String
init({required String targetIPGetter(), required String languageGetter(), required String deviceName}) PixivAuth
兼容GetX的GetxService
initAccountAuthToken(String code, String codeVerifier) Future<UserAccount>
初始化token
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomString(int length) String
refreshAuthToken(String refreshToken) Future<UserAccount>
刷新token
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited