Skip to content

Commit

Permalink
added usafe logs
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMHD committed Feb 24, 2024
1 parent 9f0f8d4 commit 23581dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/auth/authenticator_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func (c *AccessTokensCache) ReadAccessToken(rawToken string) (AccessTokensCacheE

// TestAccess
func (c *AccessTokensCacheEntry) TestAccess(wsvc string) bool {
fmt.Println("accessTokenName", c.Name, "givenWsvc", wsvc, "allowedWsvcs", c.allowedWebservicesCache)
_, ok := c.allowedWebservicesCache[wsvc]
return ok
}

0 comments on commit 23581dd

Please sign in to comment.