ConfigurationConnections.GetTokenProvider(ClaimsIdentity, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds a connection based on a map.
public Microsoft.Agents.Authentication.IAccessTokenProvider GetTokenProvider(System.Security.Claims.ClaimsIdentity claimsIdentity, string serviceUrl);
abstract member GetTokenProvider : System.Security.Claims.ClaimsIdentity * string -> Microsoft.Agents.Authentication.IAccessTokenProvider
override this.GetTokenProvider : System.Security.Claims.ClaimsIdentity * string -> Microsoft.Agents.Authentication.IAccessTokenProvider
Public Function GetTokenProvider (claimsIdentity As ClaimsIdentity, serviceUrl As String) As IAccessTokenProvider
Parameters
- claimsIdentity
- ClaimsIdentity
- serviceUrl
- String
Returns
Implements
Remarks
ServiceUrl is: A regex to match with, or "*" for any serviceUrl value. Connection is: A name in the 'Connections'.