WacAllow

data class WacAllow(val userModes: Set<String>, val publicModes: Set<String>) : Parcelable

Parsed representation of the WAC-Allow HTTP response header.

Format: WAC-Allow: user="read write", public="read"

Spec: https://solidproject.org/TR/wac — WAC-Allow header

Constructors

Link copied to clipboard
constructor(userModes: Set<String>, publicModes: Set<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Modes granted to unauthenticated/public agents, lower-cased.

Link copied to clipboard

Modes the currently authenticated user is granted, lower-cased (e.g. read, write).

Functions

Link copied to clipboard

true if the user may append. Folds in write, since a user who may write may also append even when the server does not list append separately.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)