Fix sys/auth/path/tune to accept token_type (#5777)
This commit is contained in:
parent
2a3e8a6604
commit
56d6d929ce
|
@ -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{
|
||||||
|
|
Loading…
Reference in a new issue