ac4b33f authtok: add dedicated type for 2fa with single string

8 files Authored by sbose 5 years ago, Committed by jhrozek 5 years ago,
    authtok: add dedicated type for 2fa with single string
    
    Currently the password type is used to send two-factor authentication
    credentials entered in a single string to the backend, This is
    unreliable and only works properly if password authentication is not
    available for the user as well.
    
    To support 2FA credentials in a single string better a new authtok type
    is added.
    
    Related to https://pagure.io/SSSD/sssd/issue/3264
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    
        
file modified
+3 -0
file modified
+42 -0
file modified
+35 -0