Table of Contents

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

public const string DefaulTestSASRuleName = "RootManageSharedAccessKey"

Field Value

string

DefaultCompoundClaimDelimiter

The character used to delimit the list of values for a compound token.

public const char DefaultCompoundClaimDelimiter = ','

Field Value

char

HttpAuthParameterSeparator

The character used to separate parameters sent in HTTP authentication requests.

public const char HttpAuthParameterSeparator = ','

Field Value

char

HttpMethodGet

The string used to represent the GET verb in an HTTP request.

public const string HttpMethodGet = "GET"

Field Value

string

HttpMethodHead

The string used to represent the HEAD verb in an HTTP request.

public const string HttpMethodHead = "HEAD"

Field Value

string

HttpMethodPost

The string used to represent the POST verb in an HTTP request.

public const string HttpMethodPost = "POST"

Field Value

string

HttpMethodTrace

The string used to represent the TRACE verb in an HTTP request.

public const string HttpMethodTrace = "TRACE"

Field Value

string

KeyValueSeparator

A character designating the separation between a key and a value.

public const char KeyValueSeparator = '='

Field Value

char

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

string

MaxIssuerNameSize

The maximum size of the issuer name.

public const int MaxIssuerNameSize = 128

Field Value

int

MaxIssuerSecretSize

The maximum size of the issuer secret key.

public const int MaxIssuerSecretSize = 128

Field Value

int

OutputClaimIssuerId

The issuer ID for all output claims from the Windows Azure Access Control service.

public const string OutputClaimIssuerId = "ACS"

Field Value

string

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

string

ServiceBusIssuerName

The default issuer name string value used to gain access to the Windows Azure Service Bus.

public const string ServiceBusIssuerName = "owner"

Field Value

string

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

string

TokenDigest256

The attribute name of the hash-based message authentication code used in a Simple Web Token.

public const string TokenDigest256 = "HMACSHA256"

Field Value

string

TokenExpiresOn

The attribute name for the token expiration (measured in seconds) used in a Simple Web Token.

public const string TokenExpiresOn = "ExpiresOn"

Field Value

string

TokenIssuer

The attribute name for the Simple Web Token (SWT) issuer.

public const string TokenIssuer = "Issuer"

Field Value

string

TrackingIdHeaderName

The attribute name for the tracking ID in the returned token response.

public const string TrackingIdHeaderName = "x-ms-request-id"

Field Value

string

UrlParameterSeparator

The character used to separate parameters in a token request.

public const char UrlParameterSeparator = '&'

Field Value

char

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

string

WrapAppliesTo

The name of the AppliesTo field that is in the token request body that is sent to the Windows Azure Access Control service.

public const string WrapAppliesTo = "wrap_scope"

Field Value

string

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

string

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

string

WrapAuthenticationType

The WRAP authentication protocol type name.

public const string WrapAuthenticationType = "WRAP"

Field Value

string

WrapAuthorizationHeaderKey

The parameter name of the access token that is sent in the authorization header of a request to the Windows Azure Service Bus.

public const string WrapAuthorizationHeaderKey = "access_token"

Field Value

string

WrapBaseTime

The base date and time used in the WRAP protocol.

public static readonly DateTime WrapBaseTime

Field Value

DateTime

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

string

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

string

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

string

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

string

WrapSamlAssertionFormat

Specifies the Security Assertion Markup Language format.

public const string WrapSamlAssertionFormat = "SAML"

Field Value

string

WrapSwtAssertionFormat

Specifies the Simple Web Token format.

public const string WrapSwtAssertionFormat = "SWT"

Field Value

string

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"

Field Value

string