logical: add credential info to logical backend structures

This commit is contained in:
Mitchell Hashimoto
2015-03-30 14:23:32 -07:00
parent 5a4eb13750
commit c67357342c
4 changed files with 39 additions and 0 deletions

View File

@@ -27,6 +27,11 @@ type Request struct {
// to represent the secret that was returned prior.
Secret *Secret
// Connection will be non-nil only for credential providers to
// inspect the connection information and potentially use it for
// authentication/protection.
Connection *Connection
// ClientToken is provided to the core so that the identity
// can be verified and ACLs applied. This value is not passed
// through to the logical backends.