CustomJwtAuthenticationSettings Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. CustomJwtAuthenticationSettings
- com.
Implements
public final class CustomJwtAuthenticationSettings
implements JsonSerializable<CustomJwtAuthenticationSettings>
Custom JWT authentication settings for namespace resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomJwtAuthenticationSettings() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Encoded |
encodedIssuerCertificates()
Get the encoded |
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
|
List<Issuer |
issuerCertificates()
Get the issuer |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
tokenIssuer()
Get the token |
| void |
validate()
Validates the instance. |
|
Custom |
withEncodedIssuerCertificates(List<EncodedIssuerCertificateInfo> encodedIssuerCertificates)
Set the encoded |
|
Custom |
withIssuerCertificates(List<IssuerCertificateInfo> issuerCertificates)
Set the issuer |
|
Custom |
withTokenIssuer(String tokenIssuer)
Set the token |
Methods inherited from java.lang.Object
Constructor Details
CustomJwtAuthenticationSettings
public CustomJwtAuthenticationSettings()
Creates an instance of CustomJwtAuthenticationSettings class.
Method Details
encodedIssuerCertificates
public List<EncodedIssuerCertificateInfo> encodedIssuerCertificates()
Get the encodedIssuerCertificates property: Information about the encoded public certificates that are used for custom authentication.
Returns:
fromJson
public static CustomJwtAuthenticationSettings fromJson(JsonReader jsonReader)
Reads an instance of CustomJwtAuthenticationSettings from the JsonReader.
Parameters:
Returns:
Throws:
issuerCertificates
public List<IssuerCertificateInfo> issuerCertificates()
Get the issuerCertificates property: Information about the certificates that are used for token validation. We currently support maximum 2 certificates.
Returns:
toJson
tokenIssuer
public String tokenIssuer()
Get the tokenIssuer property: Expected JWT token issuer.
Returns:
validate
public void validate()
Validates the instance.
withEncodedIssuerCertificates
public CustomJwtAuthenticationSettings withEncodedIssuerCertificates(List<EncodedIssuerCertificateInfo> encodedIssuerCertificates)
Set the encodedIssuerCertificates property: Information about the encoded public certificates that are used for custom authentication.
Parameters:
Returns:
withIssuerCertificates
public CustomJwtAuthenticationSettings withIssuerCertificates(List<IssuerCertificateInfo> issuerCertificates)
Set the issuerCertificates property: Information about the certificates that are used for token validation. We currently support maximum 2 certificates.
Parameters:
Returns:
withTokenIssuer
public CustomJwtAuthenticationSettings withTokenIssuer(String tokenIssuer)
Set the tokenIssuer property: Expected JWT token issuer.
Parameters:
Returns: