/*
 * ETSI GS MEC 033 IoT API
 *
 * ETSI GS MEC 033 IoT API described using OpenAPI.
 *
 * API version: 3.1.1
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package server

// Parameters related to use of OAuth 2.0. Shall be present in case OAuth 2.0 (see IETF RFC 6749 [13]) is supported to secure the provision of the service over the transport.
type OAuth2Info struct {
	// List of supported OAuth 2.0 grant types. Each entry shall be one of the following permitted values: - OAUTH2_AUTHORIZATION_CODE: Authorization code grant type - OAUTH2_IMPLICIT_GRANT: Implicit grant type - OAUTH2_RESOURCE_OWNER: Resource owner password credentials grant type - OAUTH2_CLIENT_CREDENTIALS: Client credentials grant type Only the value \"OAUTH2_CLIENT_CREDENTIALS\" is supported in the present document.
	GrantTypes []string `json:"grantTypes"`
	// The token endpoint. Shall be present unless the grant type is OAUTH2_IMPLICIT_GRANT.
	TokenEndpoint string `json:"tokenEndpoint,omitempty"`
}
