Skip to content

Instantly share code, notes, and snippets.

@gdyrrahitis
Created February 24, 2018 13:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdyrrahitis/17d003faa77b1f807e583692bde8769e to your computer and use it in GitHub Desktop.
Save gdyrrahitis/17d003faa77b1f807e583692bde8769e to your computer and use it in GitHub Desktop.
namespace Microsoft.AspNetCore.Authentication
{
//
// Summary:
// Dictionary used to store state values about the authentication session.
public class AuthenticationProperties
{
//
// Summary:
// Initializes a new instance of the Microsoft.AspNetCore.Authentication.AuthenticationProperties
// class
public AuthenticationProperties();
//
// Summary:
// Initializes a new instance of the Microsoft.AspNetCore.Authentication.AuthenticationProperties
// class
//
// Parameters:
// items:
public AuthenticationProperties(IDictionary<string, string> items);
//
// Summary:
// State values about the authentication session.
public IDictionary<string, string> Items { get; }
//
// Summary:
// Gets or sets whether the authentication session is persisted across multiple
// requests.
public bool IsPersistent { get; set; }
//
// Summary:
// Gets or sets the full path or absolute URI to be used as an http redirect response
// value.
public string RedirectUri { get; set; }
//
// Summary:
// Gets or sets the time at which the authentication ticket was issued.
public DateTimeOffset? IssuedUtc { get; set; }
//
// Summary:
// Gets or sets the time at which the authentication ticket expires.
public DateTimeOffset? ExpiresUtc { get; set; }
//
// Summary:
// Gets or sets if refreshing the authentication session should be allowed.
public bool? AllowRefresh { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment