ApiAccessTokensControllerPostGetAsync - метод
Retrieves an existing API access token.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpPostAttribute("get")]
[SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<ApiAccessTokenGetResponse>> PostGetAsync(
[FromBodyAttribute] ApiAccessTokenGetRequest request,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("get")>
<SessionMethodAttribute(UserAccessLevel.Administrator, false, New String() { ... })>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function PostGetAsync (
<FromBodyAttribute> request As ApiAccessTokenGetRequest,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of ApiAccessTokenGetResponse))
public:
[HttpPostAttribute(L"get")]
[SessionMethodAttribute(UserAccessLevel::Administrator, false, __gc new array<String^>^ { ... })]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<ApiAccessTokenGetResponse^>^>^ PostGetAsync(
[FromBodyAttribute] ApiAccessTokenGetRequest^ request,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("get")>]
[<SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member PostGetAsync :
[<FromBodyAttribute>] request : ApiAccessTokenGetRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<ApiAccessTokenGetResponse>>
- request ApiAccessTokenGetRequest
Represents a request to retrieve API access token.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultApiAccessTokenGetResponse
Represents a response to API access token retrieve request.