MCPcopy Create free account
hub / github.com/cloudwan/gohan / GetServiceAuthorization

Method GetServiceAuthorization

server/middleware/cached.go:47–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func (c *CachedIdentityService) GetServiceAuthorization() (schema.Authorization, error) {
48 return c.VerifyToken(c.GetClient().TokenID)
49}
50
51func (c *CachedIdentityService) GetClient() *gophercloud.ServiceClient {
52 return c.inner.GetClient()

Callers

nothing calls this directly

Calls 2

VerifyTokenMethod · 0.95
GetClientMethod · 0.95

Tested by

no test coverage detected