UserInfo

struct UserInfo
extension UserInfo : Sendable

Information about a user account.

  • The account ID of the user.

    Declaration

    Swift

    let accountID: AccountID
  • The current idToken for the user, if available.

    Declaration

    Swift

    var idToken: String? { get async }
  • Returns a current access token and assertion for the current user.

    Throws

    HomeError.permissionDenied

    Declaration

    Swift

    @MainActor
    static func authorizationToken() async throws -> String