Skip to content

Commit 6b7bc8f

Browse files
committed
Formatting
1 parent 35ceb9b commit 6b7bc8f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

packages-exp/auth-exp/src/core/providers/oauth.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ export class OAuthProvider implements AuthProvider {
150150
}
151151

152152
/** An internal credential method that accepts more permissive options */
153-
private _credential(params: OAuthCredentialOptions | OAuthCredentialParams): OAuthCredential {
153+
private _credential(
154+
params: OAuthCredentialOptions | OAuthCredentialParams
155+
): OAuthCredential {
154156
_assert(params.idToken || params.accessToken, AuthErrorCode.ARGUMENT_ERROR);
155157
// For OAuthCredential, sign in method is same as providerId.
156158
return OAuthCredential._fromParams({

packages-exp/auth-exp/src/core/user/user_credential_impl.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ export class UserCredentialImpl
8181
}
8282
}
8383

84-
function providerIdForResponse(response: IdTokenResponse): ProviderId | string | null {
84+
function providerIdForResponse(
85+
response: IdTokenResponse
86+
): ProviderId | string | null {
8587
if (response.providerId) {
8688
return response.providerId;
8789
}

0 commit comments

Comments
 (0)