mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-04-24 00:00:05 +08:00
Wrap session token
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// OpenVPNSessionToken.h
|
||||
// OpenVPN Adapter
|
||||
//
|
||||
// Created by Sergey Abramchuk on 28.04.17.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
Class used to get session token from VPN core
|
||||
*/
|
||||
@interface OpenVPNSessionToken : NSObject
|
||||
|
||||
@property (nullable, readonly, nonatomic) NSString *username;
|
||||
|
||||
/**
|
||||
An OpenVPN Session ID, used as a proxy for password
|
||||
*/
|
||||
@property (nullable, readonly, nonatomic) NSString *session;
|
||||
|
||||
- (nonnull instancetype) __unavailable init;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user