| Index: tokenserver/appengine/impl/serviceaccounts/rpc_mint_oauth_token_grant.go
|
| diff --git a/tokenserver/appengine/impl/serviceaccounts/rpc_mint_oauth_token_grant.go b/tokenserver/appengine/impl/serviceaccounts/rpc_mint_oauth_token_grant.go
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c111a1600536ed09a746f0b619add4bb9ac3ae14
|
| --- /dev/null
|
| +++ b/tokenserver/appengine/impl/serviceaccounts/rpc_mint_oauth_token_grant.go
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 The LUCI Authors. All rights reserved.
|
| +// Use of this source code is governed under the Apache License, Version 2.0
|
| +// that can be found in the LICENSE file.
|
| +
|
| +package serviceaccounts
|
| +
|
| +import (
|
| + "golang.org/x/net/context"
|
| + "google.golang.org/grpc"
|
| + "google.golang.org/grpc/codes"
|
| +
|
| + "github.com/luci/luci-go/tokenserver/api/minter/v1"
|
| +)
|
| +
|
| +// MintOAuthTokenGrantRPC implements TokenMinter.MintOAuthTokenGrant method.
|
| +type MintOAuthTokenGrantRPC struct {
|
| +}
|
| +
|
| +// MintOAuthTokenGrant produces new OAuth token grant.
|
| +func (r *MintOAuthTokenGrantRPC) MintOAuthTokenGrant(c context.Context, req *minter.MintOAuthTokenGrantRequest) (*minter.MintOAuthTokenGrantResponse, error) {
|
| + return nil, grpc.Errorf(codes.Unavailable, "not implemented")
|
| +}
|
|
|