KlusterKite
0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
|
The authenticated user session More...
Public Member Functions | |
AccessTicket ([CanBeNull] IUser user, [CanBeNull] IEnumerable< string > userScope, [NotNull] string clientId, [NotNull] string clientType, [NotNull] IEnumerable< string > clientScope, DateTimeOffset created, DateTimeOffset? expiring, object extraData) | |
Initializes a new instance of the AccessTicket class. More... | |
Properties | |
IUser | User [get] |
Gets the user identity More... | |
IReadOnlyList< string > | UserScope [get] |
Gets the user's authorized actions scope More... | |
string | ClientId [get] |
Gets the client id More... | |
string | ClientType [get] |
Gets the client type More... | |
IReadOnlyList< string > | ClientScope [get] |
Gets the client's authorized actions scope More... | |
DateTimeOffset | Created [get] |
Gets the session created time More... | |
DateTimeOffset | Expiring [get] |
Gets the session expiring time More... | |
object | ExtraData [get] |
Gets some extra data from client More... | |
The authenticated user session
Definition at line 21 of file AccessTicket.cs.
KlusterKite.Security.Attributes.AccessTicket.AccessTicket | ( | [CanBeNull] IUser | user, |
[CanBeNull] IEnumerable< string > | userScope, | ||
[NotNull] string | clientId, | ||
[NotNull] string | clientType, | ||
[NotNull] IEnumerable< string > | clientScope, | ||
DateTimeOffset | created, | ||
DateTimeOffset? | expiring, | ||
object | extraData | ||
) |
Initializes a new instance of the AccessTicket class.
user | The user. |
userScope | The user scope. |
clientId | The client id. |
clientType | The client type. |
clientScope | The client scope. |
created | The created time. |
expiring | The expiring time. |
extraData | The extra data. |
Definition at line 50 of file AccessTicket.cs.
|
get |
Gets the client id
Definition at line 89 of file AccessTicket.cs.
|
get |
Gets the client's authorized actions scope
Definition at line 103 of file AccessTicket.cs.
|
get |
Gets the client type
Definition at line 96 of file AccessTicket.cs.
|
get |
Gets the session created time
Definition at line 108 of file AccessTicket.cs.
|
get |
Gets the session expiring time
Definition at line 113 of file AccessTicket.cs.
|
get |
Gets some extra data from client
Definition at line 119 of file AccessTicket.cs.
|
get |
Gets the user identity
Definition at line 75 of file AccessTicket.cs.
|
get |
Gets the user's authorized actions scope
Definition at line 82 of file AccessTicket.cs.