UserCriteria
¶
Describes some criteria which match a user
sealed class UserCriteria {
abstract val id: String?
abstract val type: String
class Anyone : UserCriteria()
class EmailDomain : UserCriteria()
class WayfOrganization : UserCriteria()
}
This is used in conjunction with actions that require authorization.