-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
72 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -93,16 +93,20 @@ object CommonTestData { | |
val userEmail2 = WorkbenchEmail("[email protected]") | ||
val userEmail3 = WorkbenchEmail("[email protected]") | ||
val userEmail4 = WorkbenchEmail("[email protected]") | ||
val userInfo = UserInfo(OAuth2BearerToken("accessToken"), WorkbenchUserId("user1"), userEmail, 0) | ||
val userInfo2 = UserInfo(OAuth2BearerToken("accessToken"), WorkbenchUserId("user2"), userEmail2, 0) | ||
val userInfo3 = UserInfo(OAuth2BearerToken("accessToken"), WorkbenchUserId("user3"), userEmail3, 0) | ||
val userInfo4 = UserInfo(OAuth2BearerToken("accessToken"), WorkbenchUserId("user4"), userEmail4, 0) | ||
val token = OAuth2BearerToken("accessToken1") | ||
val token2 = OAuth2BearerToken("accessToken2") | ||
val token3 = OAuth2BearerToken("accessToken3") | ||
val token4 = OAuth2BearerToken("accessToken4") | ||
val userInfo = UserInfo(token, WorkbenchUserId("user1"), userEmail, 0) | ||
val userInfo2 = UserInfo(token2, WorkbenchUserId("user2"), userEmail2, 0) | ||
val userInfo3 = UserInfo(token3, WorkbenchUserId("user3"), userEmail3, 0) | ||
val userInfo4 = UserInfo(token4, WorkbenchUserId("user4"), userEmail4, 0) | ||
val serviceAccountEmail = WorkbenchEmail("[email protected]") | ||
val managedIdentityEmail = WorkbenchEmail("subscriptions/foo/bar/userAssignedManagedIdentity") | ||
val proxyGroupEmail = WorkbenchEmail("[email protected]") | ||
val unauthorizedEmail = WorkbenchEmail("[email protected]") | ||
val unauthorizedUserInfo = | ||
UserInfo(OAuth2BearerToken("accessToken"), WorkbenchUserId("somecreep"), unauthorizedEmail, 0) | ||
UserInfo(OAuth2BearerToken("unauthorized"), WorkbenchUserId("somecreep"), unauthorizedEmail, 0) | ||
val credentials = | ||
GoogleCredentials.create(new AccessToken("accessToken", new Date(1000000000000000L))) // don't refresh this token | ||
val jupyterExtensionBucket = GcsBucketName("bucket-name") | ||
|
Oops, something went wrong.