Package-level declarations

Types

Link copied to clipboard
@Serializable
enum AccessLevel : Enum<AccessLevel>

How much an app may do on the target of a grant entry.

Link copied to clipboard
@Serializable
data class AccessRequest(val level: AccessLevel = AccessLevel.EDIT, val targets: List<RequestedTarget> = listOf(RequestedTarget.Pod), val reason: String? = null) : Parcelable

What an app asks the user for when it launches the host's consent screen.

Link copied to clipboard
@Serializable
data class AppGrant(val packageName: String, val webId: String, val appLabel: String, val entries: List<GrantEntry>, val grantedAt: String) : Parcelable

What one app may do as one WebID, as the user approved it on the host's consent screen.

Link copied to clipboard
@Serializable
data class GrantEntry(val target: GrantTarget, val level: AccessLevel) : Parcelable

One target of a grant and the level the app holds on it.

Link copied to clipboard
@Serializable
sealed class GrantTarget : Parcelable

What a grant entry applies to, as the host stores it after the user approved the grant.

Link copied to clipboard
@Serializable
sealed class RequestedTarget : Parcelable

What an app asks for before it knows which account the user will pick.