Comparing version 0.2.13 to 0.2.14
@@ -72,3 +72,3 @@ "use strict"; | ||
const authenticationInformation = await this.moziAuthenticator.authenticate(code, origin + this.moziTokenUri); | ||
this.handleAuthenticationInformation(ctx, authenticationInformation, callback); | ||
await this.handleAuthenticationInformation(ctx, authenticationInformation, callback); | ||
}; | ||
@@ -79,3 +79,3 @@ this.redirectGoogleToken = async (ctx) => { | ||
const authenticationInformation = await this.googleAuthenticator.authenticate(code, origin + this.googleTokenUri); | ||
this.handleAuthenticationInformation(ctx, authenticationInformation, callback); | ||
await this.handleAuthenticationInformation(ctx, authenticationInformation, callback); | ||
}; | ||
@@ -86,3 +86,3 @@ this.redirectMiniprogramToken = async (ctx) => { | ||
const authenticationInformation = await this.miniprogramAuthenticator.authenticate(loginToken, origin + this.miniprogramTokenUri); | ||
this.handleAuthenticationInformation(ctx, authenticationInformation, callback); | ||
await this.handleAuthenticationInformation(ctx, authenticationInformation, callback); | ||
}; | ||
@@ -89,0 +89,0 @@ this.bindMozi = async (ctx) => { |
@@ -0,1 +1,10 @@ | ||
## [0.2.14](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-egg/compare/v0.2.13...v0.2.14) (2021-01-14) | ||
### Bug Fixes | ||
* await redirect ([517bf83](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-egg/commit/517bf8335e7bb417db5cff8032b33046c2fbcf5d)) | ||
## [0.2.13](https://gitlab-ag.marmot-cloud.com/marmot/kauth-sdk-egg/compare/v0.2.12...v0.2.13) (2021-01-08) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "egg-kauth", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "egg kauth plugin", | ||
@@ -5,0 +5,0 @@ "eggPlugin": { |
@@ -1,2 +0,2 @@ | ||
import { AuthenticationInformation } from "kauth-sdk-node"; | ||
import { AuthenticationInformation } from 'kauth-sdk-node'; | ||
@@ -3,0 +3,0 @@ declare module 'egg' { |
28386