SignedHttpRequestValidationContext Constructors
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.
Overloads
SignedHttpRequestValidationContext(String, HttpRequestData, TokenValidationParameters)
Initializes a new instance of SignedHttpRequestValidationContext.
public SignedHttpRequestValidationContext (string signedHttpRequest, Microsoft.IdentityModel.Protocols.HttpRequestData httpRequestData, Microsoft.IdentityModel.Tokens.TokenValidationParameters accessTokenValidationParameters);
new Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext : string * Microsoft.IdentityModel.Protocols.HttpRequestData * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext
Public Sub New (signedHttpRequest As String, httpRequestData As HttpRequestData, accessTokenValidationParameters As TokenValidationParameters)
Parameters
- signedHttpRequest
- String
SignedHttpRequest to be validated as a JWS in Compact Serialization Format.
- httpRequestData
- HttpRequestData
A structure that represents an incoming http request.
- accessTokenValidationParameters
- TokenValidationParameters
A TokenValidationParameters required for access token ("at") validation.
Remarks
Default SignedHttpRequestValidationParameters and CallContext will be created.
Applies to
SignedHttpRequestValidationContext(String, HttpRequestData, TokenValidationParameters, SignedHttpRequestValidationParameters)
Initializes a new instance of SignedHttpRequestValidationContext.
public SignedHttpRequestValidationContext (string signedHttpRequest, Microsoft.IdentityModel.Protocols.HttpRequestData httpRequestData, Microsoft.IdentityModel.Tokens.TokenValidationParameters accessTokenValidationParameters, Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationParameters signedHttpRequestValidationParameters);
new Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext : string * Microsoft.IdentityModel.Protocols.HttpRequestData * Microsoft.IdentityModel.Tokens.TokenValidationParameters * Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationParameters -> Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext
Public Sub New (signedHttpRequest As String, httpRequestData As HttpRequestData, accessTokenValidationParameters As TokenValidationParameters, signedHttpRequestValidationParameters As SignedHttpRequestValidationParameters)
Parameters
- signedHttpRequest
- String
SignedHttpRequest to be validated encoded as a JWS in Compact Serialization Format.
- httpRequestData
- HttpRequestData
A structure that represents an incoming http request.
- accessTokenValidationParameters
- TokenValidationParameters
A TokenValidationParameters required for access token ("at") validation.
- signedHttpRequestValidationParameters
- SignedHttpRequestValidationParameters
A set of parameters required for validating a SignedHttpRequest.
Remarks
Default CallContext will be created.
Applies to
SignedHttpRequestValidationContext(String, HttpRequestData, TokenValidationParameters, CallContext)
Initializes a new instance of SignedHttpRequestValidationContext.
public SignedHttpRequestValidationContext (string signedHttpRequest, Microsoft.IdentityModel.Protocols.HttpRequestData httpRequestData, Microsoft.IdentityModel.Tokens.TokenValidationParameters accessTokenValidationParameters, Microsoft.IdentityModel.Tokens.CallContext callContext);
new Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext : string * Microsoft.IdentityModel.Protocols.HttpRequestData * Microsoft.IdentityModel.Tokens.TokenValidationParameters * Microsoft.IdentityModel.Tokens.CallContext -> Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext
Public Sub New (signedHttpRequest As String, httpRequestData As HttpRequestData, accessTokenValidationParameters As TokenValidationParameters, callContext As CallContext)
Parameters
- signedHttpRequest
- String
SignedHttpRequest to be validated encoded as a JWS in Compact Serialization Format.
- httpRequestData
- HttpRequestData
A structure that represents an incoming http request.
- accessTokenValidationParameters
- TokenValidationParameters
A TokenValidationParameters required for access token ("at") validation.
- callContext
- CallContext
An opaque context used to store work when working with authentication artifacts.
Remarks
Default SignedHttpRequestValidationParameters will be created.
Applies to
SignedHttpRequestValidationContext(String, HttpRequestData, TokenValidationParameters, SignedHttpRequestValidationParameters, CallContext)
Initializes a new instance of SignedHttpRequestValidationContext.
public SignedHttpRequestValidationContext (string signedHttpRequest, Microsoft.IdentityModel.Protocols.HttpRequestData httpRequestData, Microsoft.IdentityModel.Tokens.TokenValidationParameters accessTokenValidationParameters, Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationParameters signedHttpRequestValidationParameters, Microsoft.IdentityModel.Tokens.CallContext callContext);
new Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext : string * Microsoft.IdentityModel.Protocols.HttpRequestData * Microsoft.IdentityModel.Tokens.TokenValidationParameters * Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationParameters * Microsoft.IdentityModel.Tokens.CallContext -> Microsoft.IdentityModel.Protocols.SignedHttpRequest.SignedHttpRequestValidationContext
Public Sub New (signedHttpRequest As String, httpRequestData As HttpRequestData, accessTokenValidationParameters As TokenValidationParameters, signedHttpRequestValidationParameters As SignedHttpRequestValidationParameters, callContext As CallContext)
Parameters
- signedHttpRequest
- String
SignedHttpRequest to be validated encoded as a JWS in Compact Serialization Format.
- httpRequestData
- HttpRequestData
A structure that represents an incoming http request.
- accessTokenValidationParameters
- TokenValidationParameters
A TokenValidationParameters required for access token ("at") validation.
- signedHttpRequestValidationParameters
- SignedHttpRequestValidationParameters
A set of parameters required for validating a SignedHttpRequest.
- callContext
- CallContext
An opaque context used to store work when working with authentication artifacts.