SessionAuthenticationModule.ReadSessionTokenFromCookie(Byte[]) 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.
Reads a SessionSecurityToken from the specified session cookie.
public:
System::IdentityModel::Tokens::SessionSecurityToken ^ ReadSessionTokenFromCookie(cli::array <System::Byte> ^ sessionCookie);
public System.IdentityModel.Tokens.SessionSecurityToken ReadSessionTokenFromCookie (byte[] sessionCookie);
member this.ReadSessionTokenFromCookie : byte[] -> System.IdentityModel.Tokens.SessionSecurityToken
Public Function ReadSessionTokenFromCookie (sessionCookie As Byte()) As SessionSecurityToken
Parameters
- sessionCookie
- Byte[]
The cookie, in raw form, that contains the session token.
Returns
The session token that was read from the cookie.
Exceptions
There is not a valid session token handler configured. (There is no SessionSecurityTokenHandler configured in the SecurityTokenHandlers property.)
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.