ClientCertificateAuthentication Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. ClientCertificateAuthentication
- com.
Implements
public final class ClientCertificateAuthentication
implements JsonSerializable<ClientCertificateAuthentication>
The certificate authentication properties for the client.
Constructor Summary
| Constructor | Description |
|---|---|
| ClientCertificateAuthentication() |
Creates an instance of Client |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
allowedThumbprints()
Get the allowed |
|
static
Client |
fromJson(JsonReader jsonReader)
Reads an instance of Client |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Client |
validationScheme()
Get the validation |
|
Client |
withAllowedThumbprints(List<String> allowedThumbprints)
Set the allowed |
|
Client |
withValidationScheme(ClientCertificateValidationScheme validationScheme)
Set the validation |
Methods inherited from java.lang.Object
Constructor Details
ClientCertificateAuthentication
public ClientCertificateAuthentication()
Creates an instance of ClientCertificateAuthentication class.
Method Details
allowedThumbprints
public List<String> allowedThumbprints()
Get the allowedThumbprints property: The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
Returns:
fromJson
public static ClientCertificateAuthentication fromJson(JsonReader jsonReader)
Reads an instance of ClientCertificateAuthentication from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
validationScheme
public ClientCertificateValidationScheme validationScheme()
Get the validationScheme property: The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
Returns:
withAllowedThumbprints
public ClientCertificateAuthentication withAllowedThumbprints(List<String> allowedThumbprints)
Set the allowedThumbprints property: The list of thumbprints that are allowed during client authentication. This property is required only if the validationScheme is 'ThumbprintMatch'.
Parameters:
Returns:
withValidationScheme
public ClientCertificateAuthentication withValidationScheme(ClientCertificateValidationScheme validationScheme)
Set the validationScheme property: The validation scheme used to authenticate the client. Default value is SubjectMatchesAuthenticationName.
Parameters:
Returns: