Class SteamSignInRedirectRule
Decides whether a redirect answering a partner-site request is the sign-in bounce a dead session gets, as opposed to any other redirect (to a success page, to a canonical host) that says nothing about the session.
Inherited Members
Namespace: Serenity.Steam.Infrastructure
Assembly: Serenity.Steam.Infrastructure.dll
Syntax
public static class SteamSignInRedirectRule
Remarks
Observed live: an unauthenticated request is answered 302 → /?goto=<original path> on the
partner host. A path containing login (any case, any host — the OpenID sign-in lives on another one)
is treated as the same bounce. The rule reads the raw Location, because the query that carries
goto is exactly what a display form of it drops.
Methods
IsSignInBounce(Uri)
Whether location — a response's raw Location, absolute or relative — is the sign-in bounce.
Declaration
public static bool IsSignInBounce(Uri location)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | location | The redirect target, or null when the response named none. |
Returns
| Type | Description |
|---|---|
| bool |