- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetNewCredentials (0.1 sec)
-
internal/auth/credentials_test.go
t.Fatalf("test %v: got invalid credentials", i+1) } } } } func TestCredentialsEqual(t *testing.T) { cred, err := GetNewCredentials() if err != nil { t.Fatalf("Failed to get a new credential: %v", err) } cred2, err := GetNewCredentials() if err != nil { t.Fatalf("Failed to get a new credential: %v", err) } testCases := []struct { cred Credentials
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 01 21:09:42 UTC 2024 - 5.4K bytes - Viewed (0) -
internal/auth/credentials.go
} if err := jwt.ParseWithClaims(token, claims, stsTokenCallback); err != nil { return nil, err } return claims, nil } // GetNewCredentials generates and returns new credential. func GetNewCredentials() (cred Credentials, err error) { return GetNewCredentialsWithMetadata(map[string]interface{}{}, "") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 28 17:14:16 UTC 2024 - 12K bytes - Viewed (0)