ApiKeyAuthentication Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
ApiKey authentication gives a name and a value that can be included in either the request header or query parameters.
[Newtonsoft.Json.JsonObject("ApiKey")]
public class ApiKeyAuthentication : Microsoft.Azure.Management.DeploymentManager.Models.RestRequestAuthentication
[<Newtonsoft.Json.JsonObject("ApiKey")>]
type ApiKeyAuthentication = class
inherit RestRequestAuthentication
Public Class ApiKeyAuthentication
Inherits RestRequestAuthentication
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
ApiKeyAuthentication() |
Initializes a new instance of the ApiKeyAuthentication class. |
ApiKeyAuthentication(String, RestAuthLocation, String) |
Initializes a new instance of the ApiKeyAuthentication class. |
Properties
InProperty |
Gets or sets the location of the authentication key/value pair in the request. Possible values include: 'Query', 'Header' |
Name |
Gets or sets the key name of the authentication key/value pair. |
Value |
Gets or sets the value of the authentication key/value pair. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET