Add omitempty to more fields
This commit is contained in:
parent
68e86f881b
commit
b03e835693
1 changed files with 3 additions and 3 deletions
|
@ -734,9 +734,9 @@ func (t tokenEndpointCaller) TokenEndpoint() string {
|
||||||
|
|
||||||
type RefreshTokenRequest struct {
|
type RefreshTokenRequest struct {
|
||||||
RefreshToken string `schema:"refresh_token"`
|
RefreshToken string `schema:"refresh_token"`
|
||||||
Scopes oidc.SpaceDelimitedArray `schema:"scope"`
|
Scopes oidc.SpaceDelimitedArray `schema:"scope,omitempty"`
|
||||||
ClientID string `schema:"client_id"`
|
ClientID string `schema:"client_id,omitempty"`
|
||||||
ClientSecret string `schema:"client_secret"`
|
ClientSecret string `schema:"client_secret,omitempty"`
|
||||||
ClientAssertion string `schema:"client_assertion,omitempty"`
|
ClientAssertion string `schema:"client_assertion,omitempty"`
|
||||||
ClientAssertionType string `schema:"client_assertion_type,omitempty"`
|
ClientAssertionType string `schema:"client_assertion_type,omitempty"`
|
||||||
GrantType oidc.GrantType `schema:"grant_type"`
|
GrantType oidc.GrantType `schema:"grant_type"`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue