TokenConstants TokenConstants Class

Provides constants that represent parameter names, field names, method names, and delimiters that are used in authentication requests.

Syntax

Declaration

public static class TokenConstantsPublic Module TokenConstants

Inheritance Hierarchy

Fields summary

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

The default SAS key string value.

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

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

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

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

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

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

The default issuer name string value used to gain access to the Windows Azure Access Control management service.

The maximum size of the issuer name.

The maximum size of the issuer secret key.

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

The value of the ConfirmationMethod attribute used in a Security Assertion Markup Language(SAML) bearer assertion.

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

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.

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

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

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

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

The character used to separate parameters in a token request.

The parameter name for the access token that is returned in the response by the Security Token Service using the WRAP protocol.

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

The parameter name for the WRAP assertion that is sent in the token request using the WRAP protocol.

The parameter name for the assertion format that is sent in the token request using the WRAP protocol.

The WRAP authentication protocol type name.

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

The base date and time used in the WRAP protocol.

The content type used for formatting token request parameters when using the WRAP protocol.

The parameter name for the account name that is sent in the token request using the WRAP protocol.

The parameter name for the account password that is sent in the token request using the WRAP protocol.

The parameter name for the requested token lifetime(measured in seconds) that is sent in the token request using the WRAP protocol.

Specifies the Security Assertion Markup Language format.

Specifies the Simple Web Token format.

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.

Fields

  • DefaultCompoundClaimDelimiter
    DefaultCompoundClaimDelimiter

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

    public const char DefaultCompoundClaimDelimiter = ','Public Const DefaultCompoundClaimDelimiter As Char = ","c
  • DefaulTestSASRuleName
    DefaulTestSASRuleName

    The default SAS key string value.

    public const string DefaulTestSASRuleName = "RootManageSharedAccessKey"Public Const DefaulTestSASRuleName As String = "RootManageSharedAccessKey"
  • HttpAuthParameterSeparator
    HttpAuthParameterSeparator

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

    public const char HttpAuthParameterSeparator = ','Public Const HttpAuthParameterSeparator As Char = ","c
  • HttpMethodGet
    HttpMethodGet

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

    public const string HttpMethodGet = "GET"Public Const HttpMethodGet As String = "GET"
  • HttpMethodHead
    HttpMethodHead

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

    public const string HttpMethodHead = "HEAD"Public Const HttpMethodHead As String = "HEAD"
  • HttpMethodPost
    HttpMethodPost

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

    public const string HttpMethodPost = "POST"Public Const HttpMethodPost As String = "POST"
  • HttpMethodTrace
    HttpMethodTrace

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

    public const string HttpMethodTrace = "TRACE"Public Const HttpMethodTrace As String = "TRACE"
  • KeyValueSeparator
    KeyValueSeparator

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

    public const char KeyValueSeparator = '='Public Const KeyValueSeparator As Char = "="c
  • ManagementIssuerName
    ManagementIssuerName

    The default issuer name string value used to gain access to the Windows Azure Access Control management service.

    public const string ManagementIssuerName = "owner"Public Const ManagementIssuerName As String = "owner"
  • MaxIssuerNameSize
    MaxIssuerNameSize

    The maximum size of the issuer name.

    public const int MaxIssuerNameSize = 128Public Const MaxIssuerNameSize As Integer = 128
  • MaxIssuerSecretSize
    MaxIssuerSecretSize

    The maximum size of the issuer secret key.

    public const int MaxIssuerSecretSize = 128Public Const MaxIssuerSecretSize As Integer = 128
  • OutputClaimIssuerId
    OutputClaimIssuerId

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

    public const string OutputClaimIssuerId = "ACS"Public Const OutputClaimIssuerId As String = "ACS"
  • Saml11ConfirmationMethodBearerToken
    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"Public Const Saml11ConfirmationMethodBearerToken As String = "urn:oasis:names:tc:SAML:1.0:cm:bearer"
  • ServiceBusIssuerName
    ServiceBusIssuerName

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

    public const string ServiceBusIssuerName = "owner"Public Const ServiceBusIssuerName As String = "owner"
  • TokenAudience
    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"Public Const TokenAudience As String = "Audience"
  • TokenDigest256
    TokenDigest256

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

    public const string TokenDigest256 = "HMACSHA256"Public Const TokenDigest256 As String = "HMACSHA256"
  • TokenExpiresOn
    TokenExpiresOn

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

    public const string TokenExpiresOn = "ExpiresOn"Public Const TokenExpiresOn As String = "ExpiresOn"
  • TokenIssuer
    TokenIssuer

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

    public const string TokenIssuer = "Issuer"Public Const TokenIssuer As String = "Issuer"
  • TrackingIdHeaderName
    TrackingIdHeaderName

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

    public const string TrackingIdHeaderName = "x-ms-request-id"Public Const TrackingIdHeaderName As String = "x-ms-request-id"
  • UrlParameterSeparator
    UrlParameterSeparator

    The character used to separate parameters in a token request.

    public const char UrlParameterSeparator = '&'Public Const UrlParameterSeparator As Char = "&"c
  • WrapAccessToken
    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"Public Const WrapAccessToken As String = "wrap_access_token"
  • WrapAppliesTo
    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"Public Const WrapAppliesTo As String = "wrap_scope"
  • WrapAssertion
    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"Public Const WrapAssertion As String = "wrap_assertion"
  • WrapAssertionFormat
    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"Public Const WrapAssertionFormat As String = "wrap_assertion_format"
  • WrapAuthenticationType
    WrapAuthenticationType

    The WRAP authentication protocol type name.

    public const string WrapAuthenticationType = "WRAP"Public Const WrapAuthenticationType As String = "WRAP"
  • WrapAuthorizationHeaderKey
    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"Public Const WrapAuthorizationHeaderKey As String = "access_token"
  • WrapBaseTime
    WrapBaseTime

    The base date and time used in the WRAP protocol.

    public static readonly DateTime WrapBaseTimePublic Shared ReadOnly WrapBaseTime As Date
  • WrapContentType
    WrapContentType

    The content type used for formatting token request parameters when using the WRAP protocol.

    public const string WrapContentType = "application/x-www-form-urlencoded"Public Const WrapContentType As String = "application/x-www-form-urlencoded"
  • WrapName
    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"Public Const WrapName As String = "wrap_name"
  • WrapPassword
    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"Public Const WrapPassword As String = "wrap_password"
  • WrapRequestedLifetime
    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"Public Const WrapRequestedLifetime As String = "requested_lifetime"
  • WrapSamlAssertionFormat
    WrapSamlAssertionFormat

    Specifies the Security Assertion Markup Language format.

    public const string WrapSamlAssertionFormat = "SAML"Public Const WrapSamlAssertionFormat As String = "SAML"
  • WrapSwtAssertionFormat
    WrapSwtAssertionFormat

    Specifies the Simple Web Token format.

    public const string WrapSwtAssertionFormat = "SWT"Public Const WrapSwtAssertionFormat As String = "SWT"
  • WrapTokenExpiresIn
    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"Public Const WrapTokenExpiresIn As String = "wrap_access_token_expires_in"

Details

Assembly

Microsoft.ServiceBus.dll