| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Package tokenminter implements TokenMinter API. | 5 // Package tokenminter implements TokenMinter API. |
| 6 // | 6 // |
| 7 // This is main public API of The Token Server. | 7 // This is main public API of The Token Server. |
| 8 package tokenminter | 8 package tokenminter |
| 9 | 9 |
| 10 import ( | 10 import ( |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 // It does all authorization checks inside. | 31 // It does all authorization checks inside. |
| 32 func NewServer() minter.TokenMinterServer { | 32 func NewServer() minter.TokenMinterServer { |
| 33 return &serverImpl{ | 33 return &serverImpl{ |
| 34 MintMachineTokenRPC: machinetoken.MintMachineTokenRPC{ | 34 MintMachineTokenRPC: machinetoken.MintMachineTokenRPC{ |
| 35 Signer: gaesigner.Signer{}, | 35 Signer: gaesigner.Signer{}, |
| 36 CheckCertificate: certchecker.CheckCertificate, | 36 CheckCertificate: certchecker.CheckCertificate, |
| 37 LogToken: machinetoken.LogToken, | 37 LogToken: machinetoken.LogToken, |
| 38 }, | 38 }, |
| 39 MintDelegationTokenRPC: delegation.MintDelegationTokenRPC{ | 39 MintDelegationTokenRPC: delegation.MintDelegationTokenRPC{ |
| 40 Signer: gaesigner.Signer{}, | 40 Signer: gaesigner.Signer{}, |
| 41 » » » ConfigLoader: delegation.DelegationConfigLoader(), | 41 » » » ConfigLoader: delegation.DelegationConfigLoader, |
| 42 LogToken: delegation.LogToken, | 42 LogToken: delegation.LogToken, |
| 43 }, | 43 }, |
| 44 } | 44 } |
| 45 } | 45 } |
| OLD | NEW |