Basic Functions - jalallinux/laravel-shinobi-cctv GitHub Wiki

as

Make instance with mail, pass.

as(string $mail, string $pass): Shinobi

makeUrl

Append path to base url to make new url.

makeUrl(string $path = ''): string

getHttpClient

Get http client instance.

getHttpClient(): PendingRequest

getToken

Get token property.

getToken(): ?string

setToken

Set token property.

setToken(?string $token): Shinobi

getGroupKey

Get group key property.

getGroupKey(): ?string

setGroupKey

Set group key property.

setGroupKey(?string $groupKey): Shinobi

getSuperApiToken

Get super admin api token property.

getSuperApiToken(): string

config

Fetch shinobi config.

config(string $key = null)