- Overview
- Custom activities
- Migrating Activities to .NET 6
- Release Notes
- Building Workflow Analyzer Rules
- Building Activities Project Settings
- Creating Custom Wizards
- Prioritize Activities by Scope
- UiPath.Activities.Api.Base
- UiPath.Studio.Activities.Api
- UiPath.Studio.Activities.Api.Activities
- UiPath.Studio.Activities.Api.BusyService
- UiPath.Studio.Activities.Api.ExpressionEditor
- UiPath.Studio.Activities.Api.Expressions
- UiPath.Studio.Activities.Api.Licensing
- UiPath.Studio.Activities.Api.Mocking
- UiPath.Studio.Activities.Api.ObjectLibrary
- UiPath.Studio.Activities.Api.PackageBindings
- UiPath.Studio.Activities.Api.ProjectProperties
- UiPath.Studio.Activities.Api.ScopedActivities
- UiPath.Studio.Activities.Api.Settings
- UiPath.Studio.Activities.Api.Wizards
- UiPath.Studio.Activities.Api.Workflow
- UiPath.Studio.Api.Controls
- UiPath.Studio.Api.Telemetry
- UiPath.Studio.Api.Theme
- Robot JavaScript SDK
- Triggers SDK
Developer Guide
UiPath.Activities.Api.Base
In this section you can find more information on how to build activities using UiPath.Activities.Api.Base.
Runtime service that exposes a method for obtaining OAuth 2.0 access tokens.
Task<string> GetResourceUrl(string scope, CancellationToken cancellationToken)
Type |
Name |
Parameters |
Description |
---|---|---|---|
Task<string> |
GetResourceUrl |
scope |
The scope of this resource. Only the Orchestrator scope is currently supported. |
cancellationToken |
Request cancellation token. |
Task<string> GetResourceUrl(string scope)
Gets the resource server Url for the specified scope. Only the Orchestrator scope is currently supported.
Type |
Name |
Parameters |
Description |
---|---|---|---|
Task<string> |
GetResourceUrl |
scope |
The scope of this resource. Only the Orchestrator scope is currently supported. |
Task<string> GetAccessToken(string scope, bool force = false, CancellationToken cancellationToken = default)
true
, it asks the OAuth 2.0 Authorization Server for a token while also caching it and returning it.
Type |
Name |
Parameters |
Description |
---|---|---|---|
Task<string> |
GetAccessToken |
scope |
The scope of this resource. Only the Orchestrator scope is currently supported. |
force |
Forces a refresh of the token and provides a new one. | ||
cancellationToken |
Request cancellation token. |
Task<string> GetAccessToken(string scope, bool force = false)
true
, it asks the OAuth 2.0 Authorization Server for a token while also caching it and returning it.
Type |
Name |
Parameters |
Description |
---|---|---|---|
Task<string> |
GetAccessToken |
scope |
The scope of this resource. Only the Orchestrator scope is currently supported. |
force |
Forces a refresh of the token and provides a new one. |