@authing/authingmove-core
v1.0.1
Published
AuthingMove runtime core
Downloads
44
Readme
@authing/authingmove-core
exported AuthingMove
:
interface PluginObj {
install: (...args: unknown[]) => void
}
export default class AuthingMove {
static use (plugin: PluginObj | Function, options?: Record<string, unknown>): void
static request(config: WxRequestConfig): Promise<WxResponseData>
static setStorage(options: SetStorageOptions): Promise<SetStorageCallbackData>
static getStorage(options: GetStorageOptions): Promise<GetStorageSuccessData>
static removeStorage(options: RemoveStorageOptions): Promise<RemoveStorageSuccessData>
static scanCode(options: ScanCodeOptions): Promise<ScanCodeSuccessData>
static login(options: LoginOptions): Promise<LoginSuccessData>
// ......
}
Usage
Please refer to the usage of authingmove-template