-
-
Notifications
You must be signed in to change notification settings - Fork 132
/
TPAuthenticationRequest.h
32 lines (24 loc) · 858 Bytes
/
TPAuthenticationRequest.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
// TPAuthenticationRequest.h
// teleport
//
// Created by JuL on 28/02/05.
// Copyright 2005 abyssoft. All rights reserved.
//
typedef NS_ENUM(NSInteger, TPAuthenticationResult) {
TPAuthenticationAcceptedResult,
TPAuthenticationRejectedResult,
TPAuthenticationAcceptedAndRejectOthersResult,
TPAuthenticationAbortedResult
} ;
@class TPRemoteHost, TPNetworkConnection;
@interface TPAuthenticationRequest : NSObject
{
TPNetworkConnection * _connection;
TPRemoteHost * _demandingHost;
}
- (instancetype) initWithNetworkConnection:(TPNetworkConnection*)connection demandingHost:(TPRemoteHost*)demandingHost NS_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly) TPAuthenticationResult ask;
@property (nonatomic, readonly, strong) TPNetworkConnection *connection;
@property (nonatomic, readonly, strong) TPRemoteHost *demandingHost;
@end