toValue method
Implementation
String toValue() {
switch (this) {
case ExplicitAuthFlowsType.adminNoSrpAuth:
return 'ADMIN_NO_SRP_AUTH';
case ExplicitAuthFlowsType.customAuthFlowOnly:
return 'CUSTOM_AUTH_FLOW_ONLY';
case ExplicitAuthFlowsType.userPasswordAuth:
return 'USER_PASSWORD_AUTH';
case ExplicitAuthFlowsType.allowAdminUserPasswordAuth:
return 'ALLOW_ADMIN_USER_PASSWORD_AUTH';
case ExplicitAuthFlowsType.allowCustomAuth:
return 'ALLOW_CUSTOM_AUTH';
case ExplicitAuthFlowsType.allowUserPasswordAuth:
return 'ALLOW_USER_PASSWORD_AUTH';
case ExplicitAuthFlowsType.allowUserSrpAuth:
return 'ALLOW_USER_SRP_AUTH';
case ExplicitAuthFlowsType.allowRefreshTokenAuth:
return 'ALLOW_REFRESH_TOKEN_AUTH';
}
}