UserScopedPermissionsController

struct UserScopedPermissionsController
extension UserScopedPermissionsController : Sendable

A Controller class for interacting with user-scoped permissions.

  • Requests an offline access code from the authorization service, if configured with a server client ID.

    Declaration

    Swift

    func requestOfflineAccess() async -> String?

    Return Value

    The offline access code, or nil if the request failed.