Constructors

Link copied to clipboard
constructor(apis: List<ApiPermission>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
operator fun contains(description: ApiDescription): Boolean

在当前权限列表中寻找是否与 description 描述相同的权限.

Link copied to clipboard
fun find(description: ApiDescription): ApiPermission?

在当前权限列表中寻找与 description 描述相同的权限.

Link copied to clipboard
operator fun get(description: ApiDescription): List<ApiPermission>

尝试获取某个 ApiDescription 下的所有相关API权限.

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
infix fun ApiPermissions.hasAuth(description: ApiDescription): Boolean

判断在 ApiDescription 中是否存在 ApiPermission.isAuthorized == true 的权限.

Link copied to clipboard
open operator override fun iterator(): Iterator<ApiPermission>