Searched refs:AuthType (Results 1 – 7 of 7) sorted by relevance
16 import { AuthType } from './AuthType';22 private _authType: number = AuthType.AUTH_NONE; // uint8_t auth none
16 export class AuthType { class
60 if recv.auth_type == config::AuthType::OK as u8 { in handshake_with_daemon()62 } else if recv.auth_type == config::AuthType::Publickey as u8 { in handshake_with_daemon()64 handshake.auth_type = config::AuthType::Publickey as u8; in handshake_with_daemon()72 handshake.auth_type = config::AuthType::Signature as u8; in handshake_with_daemon()75 } else if recv.auth_type == config::AuthType::Fail as u8 { in handshake_with_daemon()
26 import { AuthType } from '../message/AuthType';57 AuthType.AUTH_NONE,
127 auth_type: AuthType::Publickey as u8, in handshake_init()146 auth_type: AuthType::Signature as u8, in make_sign_message()163 auth_type: AuthType::OK as u8, in make_ok_message()209 if recv.auth_type == AuthType::Publickey as u8 { in handshake_task()294 } else if recv.auth_type == AuthType::Signature as u8 { in handshake_task()472 auth_type: AuthType::Fail as u8, in handshake_fail()
236 pub enum AuthType { enum
25 enum AuthType { AUTH_NONE, AUTH_TOKEN, AUTH_SIGNATURE, AUTH_PUBLICKEY, AUTH_OK }; enum