Skip to content

@vtj


@vtj / renderer / Access

Class: Access

Constructors

new Access()

new Access(options): Access

Parameters

options

Partial<AccessOptions>

Returns

Access

Defined in

packages/renderer/types/plugins/access.d.ts:95

Properties

options

options: AccessOptions

Defined in

packages/renderer/types/plugins/access.d.ts:92

Methods

can()

can(code): boolean

Parameters

code

string | string[] | (p) => boolean

Returns

boolean

Defined in

packages/renderer/types/plugins/access.d.ts:102


clear()

clear(): void

Returns

void

Defined in

packages/renderer/types/plugins/access.d.ts:98


connect()

connect(params): void

Parameters

params

AccessConnectParams

Returns

void

Defined in

packages/renderer/types/plugins/access.d.ts:96


getData()

getData(): null | AccessData

Returns

null | AccessData

Defined in

packages/renderer/types/plugins/access.d.ts:100


getToken()

getToken(): undefined | string

Returns

undefined | string

Defined in

packages/renderer/types/plugins/access.d.ts:101


install()

install(app): void

Parameters

app

App<any>

Returns

void

Defined in

packages/renderer/types/plugins/access.d.ts:104


login()

login(data): void

Parameters

data

string | string[] | AccessData

Returns

void

Defined in

packages/renderer/types/plugins/access.d.ts:97


logout()

logout(): void

Returns

void

Defined in

packages/renderer/types/plugins/access.d.ts:99


some()

some(code): boolean

Parameters

code

string | string[]

Returns

boolean

Defined in

packages/renderer/types/plugins/access.d.ts:103

Released under the MIT License.