Represents an authorization token.

Constructor

new(__coco_init:{type:Null<String>, token:String, scope:Null<String>, expires:Date})

Variables

finalannex:Annex<AccessToken>

@:constant@:isVar@:isVarread onlyexpires:Date

The expiration date and time of this token.

@:computedread onlyhasExpired:Bool

Value indicating whether this token has expired.

read onlyisInTransition:Bool

finalobservables:{type:Observable<String>, token:Observable<String>, scope:Observable<String>, isInTransition:Observable<Bool>, hasExpired:Observable<Bool>, expires:Observable<Date>}

@:constant@:isVar@:isVarread onlyscope:String

The OAuth scope.

@:constant@:isVar@:isVarread onlytoken:String

The token value.

finaltransitionErrors:Signal<Error>

@:constant@:isVar@:isVarread onlytype:String

The token type.

read onlyupdatePerformed:Signal<{}>

Methods

toString():String