A Sandcastle Documented Class Library

# TokenController Methods

The TokenController type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| CreateAttributeToken | POST /Token/AttributeToken/{id} Creates an attribute token.
| CreateToken | POST /Token/ Creates a token.
| DeleteToken | DELETE /Token/{id} Deletes a token.
| EnsureCallerContext | If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one. (Inherited from ApiControllerBase.)
| EnsureFormFileMultipartContent | Ensures when form files are access the content is MIME multi-part which we want. (Inherited from ApiControllerBase.)
| GetAssociatedTokenDataType | GET /Token/AttributeToken/{id} Gets the data type of an attribute token.
| GetClientIdFromCookieOrProvided | Gets the client ID from cookie or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| GetLocalizations | GET /Token/Localizations/{id} Gets the list of localized captions for the specified token.
| GetParameterTokens | Obsolete. GET /Token/ParameterTokens/ OBSOLETE - Use POST /Token/GetParameterTokens/ instead. Retrieves the parameter tokens.
| GetParameterTokensWithOptions | POST /Token/GetParameterTokens/ Retrieves the parameter tokens.
| GetService T | Gets the requested service. (Inherited from ApiControllerBase.)
| GetSessionIdFromCookieHeaderOrProvided | Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| GetTokenById | GET /Token/{id} Gets a token.
| GetVisibleTokens | POST /Token/VisibleTokens Gets a list of tokens visible to the caller, filtered by project ID.
| LoadSession | Creates a new caller context associated with the specified session ID. The session is not validated. (Inherited from ApiControllerBase.)
| PromoteToGlobal | PUT /Token/PromoteToGlobal/ Promotes an existing project or account token to a global token.
| QueryNumberOfTokens | POST /Token/Count/ Gets the number of tokens that match the filter.
| QueryTokens | POST /Token/QueryTokens Gets a list of TokenDefinitionData objects matching the specified criteria.
| ReferencedEntities | GET /Token/ReferencedEntities/{id} Gets the list of file system entities that reference the specified token.
| RequestFirstFormFile | Retrieves the first form file from the request. (Inherited from ApiControllerBase.)
| RequestFormFiles | Retrieves the form files from the request. (Inherited from ApiControllerBase.)
| ResolveToken | POST /Token/Resolve/{id} Resolves the given token to a string representation of the resolved value.
| ResolveTokenByIds | POST /Token/ResolveByIds/ Resolves multiple given tokens to a string representation of the resolved value.
| ReturnInvalidWindowsIdentityResponse | Returns the invalid windows identity response to challenge the browser. (Inherited from ApiControllerBase.)
| SetLocalizations | PUT /Token/Localizations/{ID} Updates the list of localized captions for the specified token.
| UpdateAssociatedTokenDataType | PUT /Token/AttributeToken/{id} Updates an attribute tokens data type.
| UpdateToken | PUT /Token/{id} Updates a token.

Top
See Also

#### Reference

TokenController Class
Dundas.BI.WebApi.Controllers Namespace