Skip to content

Commit e6bb4d2

Browse files
committed
Adding required constant
1 parent 2dfb622 commit e6bb4d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FirebaseAdmin/FirebaseAdmin/Auth/FirebaseTokenVerifier.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ internal sealed class FirebaseTokenVerifier
3838
private const string FirebaseAudience = "https://identitytoolkit.googleapis.com/"
3939
+ "google.identity.identitytoolkit.v1.IdentityToolkit";
4040

41+
// See http://oid-info.com/get/2.16.840.1.101.3.4.2.1
42+
private const string Sha256Oid = "2.16.840.1.101.3.4.2.1";
43+
4144
private static readonly IReadOnlyList<string> StandardClaims =
4245
ImmutableList.Create<string>("iss", "aud", "exp", "iat", "sub", "uid");
4346

0 commit comments

Comments
 (0)