mirror of
https://github.com/esiur/esiur-dart.git
synced 2026-04-04 02:08:21 +00:00
IAuth
This commit is contained in:
18
lib/src/Security/Membership/AuthorizationResults.dart
Normal file
18
lib/src/Security/Membership/AuthorizationResults.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import '../../Net/Packets/IIPAuthPacketIAuthDestination.dart';
|
||||
import '../../Net/Packets/IIPAuthPacketIAuthFormat.dart';
|
||||
import 'AuthorizationResultsResponse.dart';
|
||||
|
||||
class AuthorizationResults
|
||||
{
|
||||
AuthorizationResultsResponse response = AuthorizationResultsResponse.Failed;
|
||||
int destination = IIPAuthPacketIAuthDestination.Self;
|
||||
int requiredFormat = IIPAuthPacketIAuthFormat.None ;
|
||||
String clue = "";
|
||||
|
||||
int timeout = 0; // 0 means no timeout
|
||||
int reference = 0;
|
||||
|
||||
DateTime issue = DateTime.now();
|
||||
|
||||
//bool expired => timeout == 0 ? false : (DateTime.UtcNow - Issue).TotalSeconds > Timeout;
|
||||
}
|
||||
Reference in New Issue
Block a user