getStringType static method
Get String name from Auth Type
Implementation
static String getStringType(AuthType type) {
if (type == AuthType.guess) {
return 'guess';
} else if (type == AuthType.loggedIn) {
return 'auth';
} else {
return 'undefined';
}
}