SessionSecurityTokenHandler.ValidateSession(SessionSecurityToken) 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.
protected:
virtual void ValidateSession(System::IdentityModel::Tokens::SessionSecurityToken ^ securityToken);
protected virtual void ValidateSession (System.IdentityModel.Tokens.SessionSecurityToken securityToken);
abstract member ValidateSession : System.IdentityModel.Tokens.SessionSecurityToken -> unit
override this.ValidateSession : System.IdentityModel.Tokens.SessionSecurityToken -> unit
Protected Overridable Sub ValidateSession (securityToken As SessionSecurityToken)
Parameters
- securityToken
- SessionSecurityToken
The token to be checked.
Exceptions
securityToken
is null
.
The Configuration property is null
.
Remarks
The token is not valid if its ValidFrom property is set to a value that occurs later than UtcNow, or if its ValidTo property is set to a value that occurs earlier than UtcNow.
Called from the ValidateToken methods to validate the session.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.