Connections interface
Properties
| get |
Get the OAuth connection for the agent. |
| get |
Get the default OAuth connection for the agent. |
| get |
Get the default connection configuration for the agent. |
| get |
Get the OAuth token provider for the agent. |
| get |
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