共用方式為


SecurityConstants Class

Definition

Security-related constants.

public static class SecurityConstants
type SecurityConstants = class
Public Class SecurityConstants
Inheritance
SecurityConstants

Fields

AdminSaSKeyName

Admin SAS key name.

AuthenticationFailed

Authentication failed message.

AuthenticationScheme

The claim type for the authentication scheme.

AuthorizationFailed

Authorization failed message.

BearerTokenScheme

The scheme name for bearer token auth.

CertificateScheme

The scheme name to use for certificate authentication handler.

DefaultDeviceSaSKeyName

Default device SAS key name.

DefaultKeyLengthInBytes

Default size of device gateway and device keys.

DefaultOwnerSaSKeyName

Default owner SAS key name.

DefaultRegistryReadSaSKeyName

Default device registry read key name.

DefaultRegistryReadWriteSaSKeyName

Default device registry ReadWrite key name.

DefaultServiceSaSKeyName

Default service SAS key name.

MaxKeyLengthInBytes

Maximum size of device gateway and device keys.

MinKeyLengthInBytes

Minimum size of device gateway and device keys.

MissingCertificate

Missing certificate message.

NonSecureConnection

Authentication failed message.

ResourceProviderAdminAccessRole

The role capable of invoking ResourceProvider from ACIS.

ResourceProviderClientAccessRole

The role capable of invoking ResourceProvider from CSM.

ResourceProviderFullAccessRole

For use when giving permissions to both resource provider roles.

SaSKeyLength

SaS Key length.

SasKeyNameMaxLength

Maximum SAS key name length.

SharedAccessKey

Shared access key.

SharedAccessKeyFieldName

Shared access key field name.

SharedAccessKeyFullFieldName

Shared access key full field name.

WwwAuthenticateHeader

The name of the authentication challenge response header.

Applies to