We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Oauth2.0
StandardOauthV2
1 parent be60494 commit 43fdad4Copy full SHA for 43fdad4
packages/oauth/src/index.ts
@@ -1 +1 @@
1
-export const test = 1
+export * from './oauth2.0'
packages/oauth/src/oauth2.0.ts
@@ -0,0 +1,32 @@
+/**
2
+ * 标准 Oauth2.0
3
+ */
4
+export class StandardOauthV2 {
5
+ /**
6
+ * 登录授权
7
8
+ public async authorize() {
9
+
10
+ }
11
12
13
+ * 获取令牌
14
15
+ public async getToken() {
16
17
18
19
20
+ * 认证
21
22
+ public async authenticate() {
23
24
25
26
27
+ * 刷新令牌
28
29
+ public async refreshToken() {
30
31
32
+}
0 commit comments