2018-10-08 01:04:56 +03:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions defined in
|
|
|
|
* file 'LICENSE.md', which is part of this source code package.
|
|
|
|
*/
|
|
|
|
|
2018-10-04 05:35:00 +03:00
|
|
|
package security
|
|
|
|
|
|
|
|
// AuthEvent is an event type that triggers authentication.
|
|
|
|
type AuthEvent string
|
|
|
|
|
|
|
|
const (
|
2018-10-08 01:04:56 +03:00
|
|
|
// EventDocOpen is an event triggered when opening the document.
|
|
|
|
EventDocOpen = AuthEvent("DocOpen")
|
|
|
|
// EventEFOpen is an event triggered when accessing an embedded file.
|
|
|
|
EventEFOpen = AuthEvent("EFOpen")
|
2018-10-04 05:35:00 +03:00
|
|
|
)
|