6.1.1.3.1.5.1.6. linotp.lib.tokens.radiustoken module¶
This file containes the RADIUS token class
- class linotp.lib.tokens.radiustoken.RadiusTokenClass(aToken)[source]¶
Bases: linotp.lib.tokens.remotetoken.RemoteTokenClass
- checkPin(pin, options=None)[source]¶
check the pin - either remote or localy - in case of remote, we return true, as the
the splitPinPass will put the passw then in the otpValParameters: - pin – the pin which should be checked
- options – the additional request parameters
- do_request(anOtpVal, transactionid=None, user=None)[source]¶
Here we contact the Radius Server to verify the pass
- classmethod getClassInfo(key=None, ret='all')[source]¶
getClassInfo - returns a subtree of the token definition
Parameters: - key (string) – subsection identifier
- ret (user defined) – default return value, if nothing is found
Returns: subsection if key exists or user defined
Return type: s.o.