linotp.lib.apps module

This file contains utilities to generates the URL for smartphone apps like
google authenticator oath token
exception linotp.lib.apps.NoOtpAuthTokenException[source]

Bases: exceptions.Exception

linotp.lib.apps.create_google_authenticator(param, user=None)[source]

create url for google authenticator

Parameters:param – request dictionary
Returns:string with google url
linotp.lib.apps.create_oathtoken_url(user, realm, otpkey, type='hmac', serial='')[source]