918b2a5 Add authtok utility functions.

Authored and Committed by simo 6 years ago
    Add authtok utility functions.
    
    These functions allow handling of auth tokens in a completely opaque way,
    with clear semantics and accessor fucntions that guarantee consistency,
    proper access to data and error conditions.
    
        
file modified
+2 -0
file added
+202
file added
+180