Library OSP/Auth/TwoFactor

Package TwoFactor

Overview

Classes: Config, HOTPGenerator, SecretGenerator, TwoFactorService, TwoFactorServiceImpl

Classes

struct Config

 

class HOTPGenerator

This class generates HOTPs (HMAC-based One Time Passwords) according to RFC 4226

class SecretGenerator

This class generates a secret for HOTP/TOTP as described in RFC 4226

class TwoFactorService

This service helps to implement two-factor authentication using Time-based One-Time Passwords (TOTPs) specified in RFC 6238 and supported by Google Authenticator or Authy. 

class TwoFactorServiceImpl

Default implementation of the TwoFactorService. 

Securely control IoT edge devices from anywhere   Connect a Device