Class: AuthTokenStatus

domain~ AuthTokenStatus

An auth token status.


new AuthTokenStatus(name)

Constructor.

Extends:
Parameters:
Name Type Description
name string

the name

Extends

Members


name

Get the enum name.

Inherited From:

Methods


equals(value)

Test if a string is equal to this enum's name.

As long as enum values are consistently obtained from the module:util~Enum.enumValues array then enum instances can be compared with ===. If unsure, this method can be used to compare string values instead.

If value is passed as an actual Enum instance, then if that enum is the same class as this enum it's name is compared to this instance's name.

Parameters:
Name Type Description
value string | Enum

the value to test

Inherited From:
Returns:

true if value is the same as this instance's name value

Type
boolean