Open this page in the API Guide

TokenController Class

The REST API for performing token related tasks.
Inheritance Hierarchy
System.Object
  Microsoft.AspNetCore.Mvc.ControllerBase
    Dundas.BI.WebApi.Controllers.ApiControllerBase
      Dundas.BI.WebApi.Controllers.TokenController

Namespace:  Dundas.BI.WebApi.Controllers
Assembly:  Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
public class TokenController : ApiControllerBase

The TokenController type exposes the following members.

Constructors
  NameDescription
Public methodTokenController
Initializes a new instance of the TokenController class.
Top
Methods
  NameDescription
Public methodCreateAttributeToken
Creates an attribute token.
Public methodCreateToken
Creates a token.
Public methodDeleteToken
Deletes a token.
Protected methodEnsureCallerContext
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.)
Protected methodEnsureFormFileMultipartContent
Ensures when form files are access the content is MIME multi-part which we want.
(Inherited from ApiControllerBase.)
Public methodGetAssociatedTokenDataType
Gets the data type of an attribute token.
Protected methodGetClientIdFromCookieOrProvided
Gets the client ID from cookie or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetLocalizations
Gets the list of localized captions for the specified token.
Public methodGetParameterTokens Obsolete.
OBSOLETE - Use POST /Token/GetParameterTokens/ instead. Retrieves the parameter tokens.
Public methodGetParameterTokensWithOptions
Retrieves the parameter tokens.
Protected methodGetService<T>
Gets the requested service.
(Inherited from ApiControllerBase.)
Protected methodGetSessionIdFromCookieHeaderOrProvided
Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string.
(Inherited from ApiControllerBase.)
Public methodGetTokenById
Gets a token.
Public methodGetVisibleTokens
Gets a list of tokens visible to the caller, filtered by project ID.
Protected methodLoadSession
Creates a new caller context associated with the specified session ID. The session is not validated.
(Inherited from ApiControllerBase.)
Public methodPromoteToGlobal
Promotes an existing project or account token to a global token.
Public methodQueryNumberOfTokens
Gets the number of tokens that match the filter.
Public methodQueryTokens
Gets a list of TokenDefinitionData objects matching the specified criteria.
Public methodReferencedEntities
Gets the list of file system entities that reference the specified token.
Protected methodRequestFirstFormFile
Retrieves the first form file from the request.
(Inherited from ApiControllerBase.)
Protected methodRequestFormFiles
Retrieves the form files from the request.
(Inherited from ApiControllerBase.)
Public methodResolveToken
Resolves the given token to a string representation of the resolved value.
Public methodResolveTokenByIds
Resolves multiple given tokens to a string representation of the resolved value.
Protected methodReturnInvalidWindowsIdentityResponse
Returns the invalid windows identity response to challenge the browser.
(Inherited from ApiControllerBase.)
Public methodSetLocalizations
Updates the list of localized captions for the specified token.
Public methodUpdateAssociatedTokenDataType
Updates an attribute tokens data type.
Public methodUpdateToken
Updates a token.
Top
See Also