Skip to content

Commit 4ecb335

Browse files
author
周雅风
committed
fix(auth): 🔥 merge lint
1 parent ccf4925 commit 4ecb335

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/index.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,7 @@ export class AuthingSSO {
9595
scope: "openid profile email phone",
9696
responseMode: "fragment",
9797
responseType: "id_token token",
98-
<<<<<<< Updated upstream
9998
nonce: Math.random().toString(),
100-
=======
101-
>>>>>>> Stashed changes
10299
},
103100
options
104101
);
@@ -127,19 +124,6 @@ export class AuthingSSO {
127124
* @param {*}
128125
*/
129126
login(options: ILoginParams) {
130-
<<<<<<< Updated upstream
131-
const { scope, responseMode, responseType, prompt, state, nonce } =
132-
Object.assign(
133-
{},
134-
{
135-
scope: "openid profile email phone",
136-
responseMode: "fragment",
137-
responseType: "id_token token",
138-
nonce: Math.random().toString(),
139-
},
140-
options
141-
);
142-
=======
143127
const {
144128
scope,
145129
responseMode,
@@ -157,7 +141,6 @@ export class AuthingSSO {
157141
},
158142
options
159143
);
160-
>>>>>>> Stashed changes
161144

162145
let url = this.authzUrlBuilder
163146
.redirectUri(this.redirectUri)
@@ -168,10 +151,7 @@ export class AuthingSSO {
168151
.prompt(prompt)
169152
.state(state)
170153
.nonce(nonce)
171-
<<<<<<< Updated upstream
172-
=======
173154
.loginHint(login_hint)
174-
>>>>>>> Stashed changes
175155
.build();
176156

177157
if (isInElectron) {

0 commit comments

Comments
 (0)