fix: add oauth client name to the CRD spec (#56)

Signed-off-by: Tiago Angelo <kurtis.angelo@gmail.com>
This commit is contained in:
Tiago Angelo
2020-06-22 06:32:50 -03:00
committed by GitHub
parent 99665fa7e2
commit e626afcc04
3 changed files with 10 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import (
// OAuth2ClientJSON represents an OAuth2 client digestible by ORY Hydra
type OAuth2ClientJSON struct {
ClientName string `json:"client_name,omitempty"`
ClientID *string `json:"client_id,omitempty"`
Secret *string `json:"client_secret,omitempty"`
GrantTypes []string `json:"grant_types"`