Fix sys/auth/path/tune to accept token_type (#5777)

This commit is contained in:
Vishal Nayak 2018-11-14 14:22:08 -05:00 committed by Brian Kassouf
parent 2a3e8a6604
commit 56d6d929ce

View file

@ -1142,6 +1142,10 @@ func (b *SystemBackend) authPaths() []*framework.Path {
Type: framework.TypeCommaStringSlice, Type: framework.TypeCommaStringSlice,
Description: strings.TrimSpace(sysHelp["passthrough_request_headers"][0]), Description: strings.TrimSpace(sysHelp["passthrough_request_headers"][0]),
}, },
"token_type": &framework.FieldSchema{
Type: framework.TypeString,
Description: strings.TrimSpace(sysHelp["token_type"][0]),
},
}, },
Operations: map[logical.Operation]framework.OperationHandler{ Operations: map[logical.Operation]framework.OperationHandler{
logical.ReadOperation: &framework.PathOperation{ logical.ReadOperation: &framework.PathOperation{