Skip to content

Commit 0fd1c34

Browse files
committed
fix(gotrue): drop experimental from signInWithIdToken
1 parent ba39057 commit 0fd1c34

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

packages/gotrue/lib/src/gotrue_client.dart

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -372,16 +372,6 @@ class GoTrueClient {
372372
return authSessionUrlResponse;
373373
}
374374

375-
/// Allows signing in with an ID token issued by certain supported providers.
376-
/// The [idToken] is verified for validity and a new session is established.
377-
/// This method of signing in only supports [OAuthProvider.google], [OAuthProvider.apple], [OAuthProvider.kakao] or [OAuthProvider.keycloak].
378-
///
379-
/// If the ID token contains an `at_hash` claim, then [accessToken] must be
380-
/// provided to compare its hash with the value in the ID token.
381-
///
382-
/// If the ID token contains a `nonce` claim, then [nonce] must be
383-
/// provided to compare its hash with the value in the ID token.
384-
///
385375
/// Sign in with ID token (internal helper method).
386376
Future<AuthResponse> _signInWithIdToken({
387377
required OAuthProvider provider,
@@ -435,11 +425,18 @@ class GoTrueClient {
435425
return authResponse;
436426
}
437427

428+
/// Allows signing in with an ID token issued by certain supported providers.
429+
/// The [idToken] is verified for validity and a new session is established.
430+
/// This method of signing in only supports [OAuthProvider.google], [OAuthProvider.apple], [OAuthProvider.kakao] or [OAuthProvider.keycloak].
431+
///
432+
/// If the ID token contains an `at_hash` claim, then [accessToken] must be
433+
/// provided to compare its hash with the value in the ID token.
434+
///
435+
/// If the ID token contains a `nonce` claim, then [nonce] must be
436+
/// provided to compare its hash with the value in the ID token.
437+
///
438438
/// [captchaToken] is the verification token received when the user
439439
/// completes the captcha on the app.
440-
///
441-
/// This method is experimental.
442-
@experimental
443440
Future<AuthResponse> signInWithIdToken({
444441
required OAuthProvider provider,
445442
required String idToken,
@@ -951,9 +948,6 @@ class GoTrueClient {
951948
///
952949
/// [captchaToken] is the verification token received when the user
953950
/// completes the captcha on the app.
954-
///
955-
/// This method is experimental.
956-
@experimental
957951
Future<AuthResponse> linkIdentityWithIdToken({
958952
required OAuthProvider provider,
959953
required String idToken,

0 commit comments

Comments
 (0)