1
0
mirror of https://github.com/rancher/types.git synced 2025-09-18 16:10:58 +00:00

Add auth refresh to actions

This commit is contained in:
Max Korp
2018-12-14 16:50:53 -07:00
committed by Craig Jellick
parent fb9250553f
commit e9b64dbd6b

View File

@@ -337,11 +337,13 @@ func authnTypes(schemas *types.Schemas) *types.Schemas {
Input: "setPasswordInput",
Output: "user",
},
"refreshauthprovideraccess": {},
}
schema.CollectionActions = map[string]types.Action{
"changepassword": {
Input: "changePasswordInput",
},
"refreshauthprovideraccess": {},
}
}).
MustImportAndCustomize(&Version, v3.AuthConfig{}, func(schema *types.Schema) {