feat: complete V1 phases 0-7
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
export const WECHAT_AUTH_ADAPTER = Symbol('WECHAT_AUTH_ADAPTER');
|
||||
|
||||
export interface WechatIdentityResult {
|
||||
openid: string;
|
||||
unionid?: string;
|
||||
}
|
||||
|
||||
export interface WechatAuthAdapter {
|
||||
exchangeCode(code: string): Promise<WechatIdentityResult>;
|
||||
}
|
||||
Reference in New Issue
Block a user