Partager via


CbsAuthorizationType Class

public final class CbsAuthorizationType
extends ExpandableStringEnum<CbsAuthorizationType>

An enumeration of supported authorization methods with the ClaimsBasedSecurityNode.

Field Summary

Modifier and Type Field and Description
static final CbsAuthorizationType JSON_WEB_TOKEN

Authorize with CBS using a JSON web token.

static final CbsAuthorizationType SHARED_ACCESS_SIGNATURE

Authorize with CBS through a shared access signature.

Constructor Summary

Constructor Description
CbsAuthorizationType()

Deprecated

Use one of the constants or the #fromString(String, Class) factory method.

Creates a new instance of CbsAuthorizationType without a #toString() value.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

JSON_WEB_TOKEN

public static final CbsAuthorizationType 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.

SHARED_ACCESS_SIGNATURE

public static final CbsAuthorizationType SHARED_ACCESS_SIGNATURE

Authorize with CBS through a shared access signature.

Constructor Details

CbsAuthorizationType

@Deprecated
public CbsAuthorizationType()

Deprecated

Use one of the constants or the #fromString(String, Class) factory method.

Creates a new instance of CbsAuthorizationType without a #toString() value.

This constructor shouldn't be called as it will produce a CbsAuthorizationType which doesn't have a String enum value.

Applies to