-
Notifications
You must be signed in to change notification settings - Fork 37
/
model_authorizationservercontractproperties.go
25 lines (23 loc) · 1.85 KB
/
model_authorizationservercontractproperties.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package authorizationserver
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See NOTICE.txt in the project root for license information.
type AuthorizationServerContractProperties struct {
AuthorizationEndpoint string `json:"authorizationEndpoint"`
AuthorizationMethods *[]AuthorizationMethod `json:"authorizationMethods,omitempty"`
BearerTokenSendingMethods *[]BearerTokenSendingMethod `json:"bearerTokenSendingMethods,omitempty"`
ClientAuthenticationMethod *[]ClientAuthenticationMethod `json:"clientAuthenticationMethod,omitempty"`
ClientId string `json:"clientId"`
ClientRegistrationEndpoint string `json:"clientRegistrationEndpoint"`
ClientSecret *string `json:"clientSecret,omitempty"`
DefaultScope *string `json:"defaultScope,omitempty"`
Description *string `json:"description,omitempty"`
DisplayName string `json:"displayName"`
GrantTypes []GrantType `json:"grantTypes"`
ResourceOwnerPassword *string `json:"resourceOwnerPassword,omitempty"`
ResourceOwnerUsername *string `json:"resourceOwnerUsername,omitempty"`
SupportState *bool `json:"supportState,omitempty"`
TokenBodyParameters *[]TokenBodyParameterContract `json:"tokenBodyParameters,omitempty"`
TokenEndpoint *string `json:"tokenEndpoint,omitempty"`
UseInApiDocumentation *bool `json:"useInApiDocumentation,omitempty"`
UseInTestConsole *bool `json:"useInTestConsole,omitempty"`
}