Package com.azure.core.amqp.models
Class CbsAuthorizationType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<CbsAuthorizationType>
com.azure.core.amqp.models.CbsAuthorizationType
- All Implemented Interfaces:
ExpandableEnum<String>
An enumeration of supported authorization methods with the
ClaimsBasedSecurityNode.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CbsAuthorizationTypeAuthorize with CBS using a JSON web token.static final CbsAuthorizationTypeAuthorize with CBS through a shared access signature. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SHARED_ACCESS_SIGNATURE
Authorize with CBS through a shared access signature. -
JSON_WEB_TOKEN
Authorize with CBS using a JSON web token.This is used in the case where Azure Active Directory is used for authentication and the authenticated user wants to authorize with Azure Event Hubs.
-
-
Constructor Details
-
CbsAuthorizationType
Deprecated.Use one of the constants or theExpandableStringEnum.fromString(String, Class)factory method.Creates a new instance ofCbsAuthorizationTypewithout aExpandableStringEnum.toString()value.This constructor shouldn't be called as it will produce a
CbsAuthorizationTypewhich doesn't have a String enum value.
-
ExpandableStringEnum.fromString(String, Class)factory method.