toValue method
Implementation
String toValue() {
switch (this) {
case AuthFlowType.userSrpAuth:
return 'USER_SRP_AUTH';
case AuthFlowType.refreshTokenAuth:
return 'REFRESH_TOKEN_AUTH';
case AuthFlowType.refreshToken:
return 'REFRESH_TOKEN';
case AuthFlowType.customAuth:
return 'CUSTOM_AUTH';
case AuthFlowType.adminNoSrpAuth:
return 'ADMIN_NO_SRP_AUTH';
case AuthFlowType.userPasswordAuth:
return 'USER_PASSWORD_AUTH';
case AuthFlowType.adminUserPasswordAuth:
return 'ADMIN_USER_PASSWORD_AUTH';
}
}