Connections interface

Properties

getConnection

Get the OAuth connection for the agent.

getDefaultConnection

Get the default OAuth connection for the agent.

getDefaultConnectionConfiguration

Get the default connection configuration for the agent.

getTokenProvider

Get the OAuth token provider for the agent.

getTokenProviderFromActivity

Get the OAuth token provider for the agent.

Property Details

getConnection

Get the OAuth connection for the agent.

getConnection: (name: string) => AuthProvider

Property Value

(name: string) => AuthProvider

getDefaultConnection

Get the default OAuth connection for the agent.

getDefaultConnection: () => AuthProvider

Property Value

() => AuthProvider

getDefaultConnectionConfiguration

Get the default connection configuration for the agent.

getDefaultConnectionConfiguration: () => AuthConfiguration

Property Value

() => AuthConfiguration

getTokenProvider

Get the OAuth token provider for the agent.

getTokenProvider: (identity: JwtPayload, serviceUrl: string) => AuthProvider

Property Value

(identity: JwtPayload, serviceUrl: string) => AuthProvider

getTokenProviderFromActivity

Get the OAuth token provider for the agent.

getTokenProviderFromActivity: (identity: JwtPayload, activity: Activity) => AuthProvider

Property Value

(identity: JwtPayload, activity: Activity) => AuthProvider