azure-docs-sdk-java/docs-ref-autogen/com.azure.core.amqp.models....

70 строки
6.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.amqp.models.CbsAuthorizationType"
fullName: "com.azure.core.amqp.models.CbsAuthorizationType"
name: "CbsAuthorizationType"
nameWithType: "CbsAuthorizationType"
summary: "An enumeration of supported authorization methods with the <xref uid=\"com.azure.core.amqp.ClaimsBasedSecurityNode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ClaimsBasedSecurityNode\"></xref>."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.getValue()?alt=com.azure.core.util.ExpandableStringEnum.getValue&text=getValue\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **CbsAuthorizationType**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.core.amqp.models.CbsAuthorizationType?alt=com.azure.core.amqp.models.CbsAuthorizationType&text=CbsAuthorizationType\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.core.amqp.models.CbsAuthorizationType.CbsAuthorizationType()"
fullName: "com.azure.core.amqp.models.CbsAuthorizationType.CbsAuthorizationType()"
name: "CbsAuthorizationType()"
nameWithType: "CbsAuthorizationType.CbsAuthorizationType()"
summary: "Creates a new instance of <xref uid=\"com.azure.core.amqp.models.CbsAuthorizationType\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CbsAuthorizationType\"></xref> without a <xref uid=\"com.azure.core.amqp.models.CbsAuthorizationType.toString*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> value."
deprecatedTag: "Use one of the constants or the <xref uid=\"com.azure.core.amqp.models.CbsAuthorizationType.fromString*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String, Class)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public CbsAuthorizationType()"
desc: "Creates a new instance of <xref uid=\"com.azure.core.amqp.models.CbsAuthorizationType\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CbsAuthorizationType\"></xref> without a <xref uid=\"com.azure.core.amqp.models.CbsAuthorizationType.toString*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toString()\"></xref> value.\n\nThis constructor shouldn't be called as it will produce a <xref uid=\"com.azure.core.amqp.models.CbsAuthorizationType\" data-throw-if-not-resolved=\"false\" data-raw-source=\"CbsAuthorizationType\"></xref> which doesn't have a String enum value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.core.amqp.models.CbsAuthorizationType.JSON_WEB_TOKEN"
fullName: "com.azure.core.amqp.models.CbsAuthorizationType.JSON_WEB_TOKEN"
name: "JSON_WEB_TOKEN"
nameWithType: "CbsAuthorizationType.JSON_WEB_TOKEN"
summary: "Authorize with CBS using a JSON web token."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.core.amqp.models.CbsAuthorizationType?alt=com.azure.core.amqp.models.CbsAuthorizationType&text=CbsAuthorizationType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final CbsAuthorizationType JSON_WEB_TOKEN"
desc: "Authorize with CBS using a JSON web token.\n\nThis is used in the case where Azure Active Directory is used for authentication and the authenticated user wants to authorize with Azure Event Hubs."
- uid: "com.azure.core.amqp.models.CbsAuthorizationType.SHARED_ACCESS_SIGNATURE"
fullName: "com.azure.core.amqp.models.CbsAuthorizationType.SHARED_ACCESS_SIGNATURE"
name: "SHARED_ACCESS_SIGNATURE"
nameWithType: "CbsAuthorizationType.SHARED_ACCESS_SIGNATURE"
summary: "Authorize with CBS through a shared access signature."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.core.amqp.models.CbsAuthorizationType?alt=com.azure.core.amqp.models.CbsAuthorizationType&text=CbsAuthorizationType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final CbsAuthorizationType SHARED_ACCESS_SIGNATURE"
desc: "Authorize with CBS through a shared access signature."
type: "class"
desc: "An enumeration of supported authorization methods with the <xref uid=\"com.azure.core.amqp.ClaimsBasedSecurityNode\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ClaimsBasedSecurityNode\"></xref>."
metadata: {}
package: "com.azure.core.amqp.models"
artifact: com.azure:azure-core-amqp:2.9.9