다음을 통해 공유


JwtTokenValidation.ValidateAuthHeader 메서드

정의

오버로드

ValidateAuthHeader(String, ICredentialProvider, IChannelProvider, String, String, HttpClient)

들어오는 요청의 인증 헤더의 유효성을 검사합니다.

ValidateAuthHeader(String, ICredentialProvider, IChannelProvider, String, AuthenticationConfiguration, String, HttpClient)

들어오는 요청의 인증 헤더의 유효성을 검사합니다.

ValidateAuthHeader(String, ICredentialProvider, IChannelProvider, String, String, HttpClient)

들어오는 요청의 인증 헤더의 유효성을 검사합니다.

public static System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> ValidateAuthHeader(string authHeader, Microsoft.Bot.Connector.Authentication.ICredentialProvider credentials, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider, string channelId, string serviceUrl = default, System.Net.Http.HttpClient httpClient = default);
static member ValidateAuthHeader : string * Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * string * string * System.Net.Http.HttpClient -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Shared Function ValidateAuthHeader (authHeader As String, credentials As ICredentialProvider, channelProvider As IChannelProvider, channelId As String, Optional serviceUrl As String = Nothing, Optional httpClient As HttpClient = Nothing) As Task(Of ClaimsIdentity)

매개 변수

authHeader
String

유효성을 검사할 인증 헤더입니다.

credentials
ICredentialProvider

봇의 자격 증명 공급자입니다.

channelProvider
IChannelProvider

봇의 채널 서비스 공급자입니다.

channelId
String

요청을 보낸 채널의 ID입니다.

serviceUrl
String

활동의 서비스 URL입니다.

httpClient
HttpClient

HTTP 클라이언트입니다.

반환

실행할 큐에 대기 중인 작업을 나타내는 작업입니다.

설명

작업이 성공적으로 완료되면 결과에 요청에 대한 클레임 기반 ID가 포함됩니다.

적용 대상

ValidateAuthHeader(String, ICredentialProvider, IChannelProvider, String, AuthenticationConfiguration, String, HttpClient)

들어오는 요청의 인증 헤더의 유효성을 검사합니다.

public static System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity> ValidateAuthHeader(string authHeader, Microsoft.Bot.Connector.Authentication.ICredentialProvider credentials, Microsoft.Bot.Connector.Authentication.IChannelProvider channelProvider, string channelId, Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration authConfig, string serviceUrl = default, System.Net.Http.HttpClient httpClient = default);
static member ValidateAuthHeader : string * Microsoft.Bot.Connector.Authentication.ICredentialProvider * Microsoft.Bot.Connector.Authentication.IChannelProvider * string * Microsoft.Bot.Connector.Authentication.AuthenticationConfiguration * string * System.Net.Http.HttpClient -> System.Threading.Tasks.Task<System.Security.Claims.ClaimsIdentity>
Public Shared Function ValidateAuthHeader (authHeader As String, credentials As ICredentialProvider, channelProvider As IChannelProvider, channelId As String, authConfig As AuthenticationConfiguration, Optional serviceUrl As String = Nothing, Optional httpClient As HttpClient = Nothing) As Task(Of ClaimsIdentity)

매개 변수

authHeader
String

유효성을 검사할 인증 헤더입니다.

credentials
ICredentialProvider

봇의 자격 증명 공급자입니다.

channelProvider
IChannelProvider

봇의 채널 서비스 공급자입니다.

channelId
String

요청을 보낸 채널의 ID입니다.

authConfig
AuthenticationConfiguration

인증 구성입니다.

serviceUrl
String

활동의 서비스 URL입니다.

httpClient
HttpClient

HTTP 클라이언트입니다.

반환

실행할 큐에 대기 중인 작업을 나타내는 작업입니다.

설명

작업이 성공적으로 완료되면 결과에 요청에 대한 클레임 기반 ID가 포함됩니다.

적용 대상