linotp.controllers.auth module

auth controller - to do authentication tests

class linotp.controllers.auth.AuthController(name, install_name='', **kwargs)

Bases: BaseController

challenge_response()

This is the method for testing challenge-response authentication

Call it directly in your browser like this

http(s)://server/auth/challenge_response

index()

This is the method for testing authentication

Call it directly in your browser like this

http(s)://server/auth/index

index3()

This is the method for testing authentication

Call it directly in your browser like this

http(s)://server/auth/index3

jwt_exempt = True
ocra2()

This is the method for testing ocra2 tokens

Call it directly in your browser like this

http(s)://server/auth/ocra2

pushtoken()

This is the method for testing authentication using your LinOTP Push Token

Call it directly in your browser like this

http(s)://server/auth/pushtoken

qrtoken()

This is the method for testing authentication using your LinOTP QR Token

Call it directly in your browser like this

http(s)://server/auth/qrtoken