Share via


@microsoft/agents-a365-runtime package

Classes

AgenticAuthenticationService
PowerPlatformApiDiscovery
Utility

Utility class providing helper methods for agent runtime operations.

Type Aliases

ClusterCategory

Functions

getClusterCategory()

Gets the cluster category from environment variables.

getMcpPlatformAuthenticationScope()

Gets the MCP platform authentication scope from environment variables.

getObservabilityAuthenticationScope()

Returns the scope for authenticating to the observability service

isDevelopmentEnvironment()

Returns true if the current environment is a development environment.

Function Details

getClusterCategory()

Gets the cluster category from environment variables.

function getClusterCategory(): string

Returns

string

The cluster category from CLUSTER_CATEGORY env var, defaults to 'prod'.

getMcpPlatformAuthenticationScope()

Gets the MCP platform authentication scope from environment variables.

function getMcpPlatformAuthenticationScope(): string

Returns

string

The MCP platform authentication scope from MCP_PLATFORM_AUTHENTICATION_SCOPE env var, defaults to production scope.

getObservabilityAuthenticationScope()

Returns the scope for authenticating to the observability service

function getObservabilityAuthenticationScope(): string[]

Returns

string[]

The authentication scope for the current environment.

isDevelopmentEnvironment()

Returns true if the current environment is a development environment.

function isDevelopmentEnvironment(): boolean

Returns

boolean

True if the current environment is development, false otherwise.