| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. |
| 4 |
| 5 package serviceaccounts |
| 6 |
| 7 import ( |
| 8 "golang.org/x/net/context" |
| 9 "google.golang.org/grpc" |
| 10 "google.golang.org/grpc/codes" |
| 11 |
| 12 "github.com/luci/luci-go/tokenserver/api/minter/v1" |
| 13 ) |
| 14 |
| 15 // MintOAuthTokenGrantRPC implements TokenMinter.MintOAuthTokenGrant method. |
| 16 type MintOAuthTokenGrantRPC struct { |
| 17 } |
| 18 |
| 19 // MintOAuthTokenGrant produces new OAuth token grant. |
| 20 func (r *MintOAuthTokenGrantRPC) MintOAuthTokenGrant(c context.Context, req *min
ter.MintOAuthTokenGrantRequest) (*minter.MintOAuthTokenGrantResponse, error) { |
| 21 return nil, grpc.Errorf(codes.Unavailable, "not implemented") |
| 22 } |
| OLD | NEW |