| Index: tokenserver/api/admin/v1/adminserver_dec.go
|
| diff --git a/tokenserver/api/admin/v1/adminserver_dec.go b/tokenserver/api/admin/v1/adminserver_dec.go
|
| index add0265eb03639a1a5d580189763fe2f92c16e41..ca2888da2f5be8f892ef427fbf95511df17bb82d 100644
|
| --- a/tokenserver/api/admin/v1/adminserver_dec.go
|
| +++ b/tokenserver/api/admin/v1/adminserver_dec.go
|
| @@ -54,6 +54,21 @@ func (s *DecoratedAdmin) ImportDelegationConfigs(c context.Context, req *google_
|
| return
|
| }
|
|
|
| +func (s *DecoratedAdmin) ImportServiceAccountsConfigs(c context.Context, req *google_protobuf.Empty) (rsp *ImportedConfigs, err error) {
|
| + var newCtx context.Context
|
| + if s.Prelude != nil {
|
| + newCtx, err = s.Prelude(c, "ImportServiceAccountsConfigs", req)
|
| + }
|
| + if err == nil {
|
| + c = newCtx
|
| + rsp, err = s.Service.ImportServiceAccountsConfigs(c, req)
|
| + }
|
| + if s.Postlude != nil {
|
| + err = s.Postlude(c, "ImportServiceAccountsConfigs", rsp, err)
|
| + }
|
| + return
|
| +}
|
| +
|
| func (s *DecoratedAdmin) InspectMachineToken(c context.Context, req *InspectMachineTokenRequest) (rsp *InspectMachineTokenResponse, err error) {
|
| var newCtx context.Context
|
| if s.Prelude != nil {
|
| @@ -83,3 +98,18 @@ func (s *DecoratedAdmin) InspectDelegationToken(c context.Context, req *InspectD
|
| }
|
| return
|
| }
|
| +
|
| +func (s *DecoratedAdmin) InspectOAuthTokenGrant(c context.Context, req *InspectOAuthTokenGrantRequest) (rsp *InspectOAuthTokenGrantResponse, err error) {
|
| + var newCtx context.Context
|
| + if s.Prelude != nil {
|
| + newCtx, err = s.Prelude(c, "InspectOAuthTokenGrant", req)
|
| + }
|
| + if err == nil {
|
| + c = newCtx
|
| + rsp, err = s.Service.InspectOAuthTokenGrant(c, req)
|
| + }
|
| + if s.Postlude != nil {
|
| + err = s.Postlude(c, "InspectOAuthTokenGrant", rsp, err)
|
| + }
|
| + return
|
| +}
|
|
|