enum Protocol::Page::OriginTrialTokenStatus

Overview

Origin Trial(https://www.chromium.org/blink/origin-trials) support. Status for an Origin Trial token.

Defined in:

protocol/page.cr

Enum Members

Success = 0
NotSupported = 1
Insecure = 2
Expired = 3
WrongOrigin = 4
InvalidSignature = 5
Malformed = 6
WrongVersion = 7
FeatureDisabled = 8
TokenDisabled = 9
FeatureDisabledForUser = 10
UnknownTrial = 11

Instance Method Summary

Class methods inherited from struct Enum

parse?(string : String) : self | Nil parse?

Instance Method Detail

def expired? #

[View source]
def feature_disabled? #

[View source]
def feature_disabled_for_user? #

[View source]
def insecure? #

[View source]
def invalid_signature? #

[View source]
def malformed? #

[View source]
def not_supported? #

[View source]
def success? #

[View source]
def token_disabled? #

[View source]
def unknown_trial? #

[View source]
def wrong_origin? #

[View source]
def wrong_version? #

[View source]