-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update gw2_api_permissions_bit_set in scheduled check
Some API Tokens were added with the new wvw permission before it was implemented in gw2auth. This update patches the gw2_api_permissions_bit_set of those. This will be rolled back once all active API Tokens were processed
- Loading branch information
Showing
7 changed files
with
156 additions
and
16 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
5 changes: 4 additions & 1 deletion
5
...uth/oauth2/server/repository/gw2account/apitoken/Gw2AccountApiTokenValidUpdateEntity.java
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
package com.gw2auth.oauth2.server.repository.gw2account.apitoken; | ||
|
||
import com.gw2auth.oauth2.server.service.Gw2ApiPermission; | ||
|
||
import java.util.Set; | ||
import java.util.UUID; | ||
|
||
public record Gw2AccountApiTokenValidUpdateEntity(UUID accountId, UUID gw2AccountId, boolean isValid) { | ||
public record Gw2AccountApiTokenValidUpdateEntity(UUID accountId, UUID gw2AccountId, Set<Gw2ApiPermission> gw2ApiPermissions, boolean isValid) { | ||
} |
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