Class TokenConstants
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Provides constants that represent parameter names, field names, method names, and delimiters that are used in authentication requests.
public static class TokenConstants
- Inheritance
-
TokenConstants
- Inherited Members
Fields
DefaulTestSASRuleName
The default SAS key string value.
public const string DefaulTestSASRuleName = "RootManageSharedAccessKey"
Field Value
DefaultCompoundClaimDelimiter
The character used to delimit the list of values for a compound token.
public const char DefaultCompoundClaimDelimiter = ','
Field Value
HttpAuthParameterSeparator
The character used to separate parameters sent in HTTP authentication requests.
public const char HttpAuthParameterSeparator = ','
Field Value
HttpMethodGet
The string used to represent the GET verb in an HTTP request.
public const string HttpMethodGet = "GET"
Field Value
HttpMethodHead
The string used to represent the HEAD verb in an HTTP request.
public const string HttpMethodHead = "HEAD"
Field Value
HttpMethodPost
The string used to represent the POST verb in an HTTP request.
public const string HttpMethodPost = "POST"
Field Value
HttpMethodTrace
The string used to represent the TRACE verb in an HTTP request.
public const string HttpMethodTrace = "TRACE"
Field Value
KeyValueSeparator
A character designating the separation between a key and a value.
public const char KeyValueSeparator = '='
Field Value
ManagementIssuerName
The default issuer name string value used to gain access to the Windows Azure Access Control management service.
public const string ManagementIssuerName = "owner"
Field Value
MaxIssuerNameSize
The maximum size of the issuer name.
public const int MaxIssuerNameSize = 128
Field Value
MaxIssuerSecretSize
The maximum size of the issuer secret key.
public const int MaxIssuerSecretSize = 128
Field Value
OutputClaimIssuerId
The issuer ID for all output claims from the Azure Access Control service.
public const string OutputClaimIssuerId = "ACS"
Field Value
Saml11ConfirmationMethodBearerToken
The value of the ConfirmationMethod attribute used in a Security Assertion Markup Language(SAML) bearer assertion.
public const string Saml11ConfirmationMethodBearerToken = "urn:oasis:names:tc:SAML:1.0:cm:bearer"
Field Value
ServiceBusIssuerName
The default issuer name string value used to gain access to Azure Service Bus.
public const string ServiceBusIssuerName = "owner"
Field Value
TokenAudience
The token audience attribute name that is used in a Simple Web Token (SWT). The token audience is the SWT processor that the SWT is intended for.
public const string TokenAudience = "Audience"
Field Value
TokenDigest256
The attribute name of the hash-based message authentication code used in a Simple Web Token.
public const string TokenDigest256 = "HMACSHA256"
Field Value
TokenExpiresOn
The attribute name for the token expiration (measured in seconds) used in a Simple Web Token.
public const string TokenExpiresOn = "ExpiresOn"
Field Value
TokenIssuer
The attribute name for the Simple Web Token (SWT) issuer.
public const string TokenIssuer = "Issuer"
Field Value
TrackingIdHeaderName
The attribute name for the tracking ID in the returned token response.
public const string TrackingIdHeaderName = "x-ms-request-id"
Field Value
UrlParameterSeparator
The character used to separate parameters in a token request.
public const char UrlParameterSeparator = '&'
Field Value
WrapAccessToken
The parameter name for the access token that is returned in the response by the Security Token Service using the WRAP protocol.
public const string WrapAccessToken = "wrap_access_token"
Field Value
WrapAppliesTo
The name of the AppliesTo field that is in the token request body that is sent to the Azure Access Control service.
public const string WrapAppliesTo = "wrap_scope"
Field Value
WrapAssertion
The parameter name for the WRAP assertion that is sent in the token request using the WRAP protocol.
public const string WrapAssertion = "wrap_assertion"
Field Value
WrapAssertionFormat
The parameter name for the assertion format that is sent in the token request using the WRAP protocol.
public const string WrapAssertionFormat = "wrap_assertion_format"
Field Value
WrapAuthenticationType
The WRAP authentication protocol type name.
public const string WrapAuthenticationType = "WRAP"
Field Value
WrapAuthorizationHeaderKey
The parameter name of the access token that is sent in the authorization header of a request to Azure Service Bus.
public const string WrapAuthorizationHeaderKey = "access_token"
Field Value
WrapBaseTime
The base date and time used in the WRAP protocol.
public static readonly DateTime WrapBaseTime
Field Value
WrapContentType
The content type used for formatting token request parameters when using the WRAP protocol.
public const string WrapContentType = "application/x-www-form-urlencoded"
Field Value
WrapName
The parameter name for the account name that is sent in the token request using the WRAP protocol.
public const string WrapName = "wrap_name"
Field Value
WrapPassword
The parameter name for the account password that is sent in the token request using the WRAP protocol.
public const string WrapPassword = "wrap_password"
Field Value
WrapRequestedLifetime
The parameter name for the requested token lifetime(measured in seconds) that is sent in the token request using the WRAP protocol.
public const string WrapRequestedLifetime = "requested_lifetime"
Field Value
WrapSamlAssertionFormat
Specifies the Security Assertion Markup Language format.
public const string WrapSamlAssertionFormat = "SAML"
Field Value
WrapSwtAssertionFormat
Specifies the Simple Web Token format.
public const string WrapSwtAssertionFormat = "SWT"
Field Value
WrapTokenExpiresIn
The parameter name for the token expiration (measured in seconds) that is returned in the token response by the token issuer using the WRAP protocol.
public const string WrapTokenExpiresIn = "wrap_access_token_expires_in"