<?php

namespace Illuminate\Support\Facades;

interface Auth
{
    /**
     * @return \App\Models\Datmas\Siswa|false
     */
    public static function loginUsingId(mixed $id, bool $remember = false);

    /**
     * @return \App\Models\Datmas\Siswa|false
     */
    public static function onceUsingId(mixed $id);

    /**
     * @return \App\Models\Datmas\Siswa|null
     */
    public static function getUser();

    /**
     * @return \App\Models\Datmas\Siswa
     */
    public static function authenticate();

    /**
     * @return \App\Models\Datmas\Siswa|null
     */
    public static function user();

    /**
     * @return \App\Models\Datmas\Siswa|null
     */
    public static function logoutOtherDevices(string $password);

    /**
     * @return \App\Models\Datmas\Siswa
     */
    public static function getLastAttempted();
}