Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: tokenserver/appengine/services/minter/tokenminter/service.go

Issue 2413683004: token-server: Delegation config import, validation and evaluation. (Closed)
Patch Set: also check validity_duration Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
29 // NewServer returns prod TokenMinterServer implementation. 29 // NewServer returns prod TokenMinterServer implementation.
30 // 30 //
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 }, 37 },
38 MintDelegationTokenRPC: delegation.MintDelegationTokenRPC{ 38 MintDelegationTokenRPC: delegation.MintDelegationTokenRPC{
39 » » » Signer: gaesigner.Signer{}, 39 » » » Signer: gaesigner.Signer{},
40 » » » ConfigLoader: delegation.DelegationConfigLoader(),
40 }, 41 },
41 } 42 }
42 } 43 }
OLDNEW
« no previous file with comments | « tokenserver/appengine/services/admin/adminsrv/service.go ('k') | tokenserver/appengine/utils/identityset/identityset.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698