Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: typings for Token resource and Account#me()
- Loading branch information
1 parent
a294cf3
commit de5b937
Showing
5 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { ListResource } from './ListResource'; | ||
|
||
export declare class TokenList extends ListResource { | ||
constructor(resource: any, environment: string, traversal?: any); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Resource } from './Resource'; | ||
|
||
export declare class TokenResource extends Resource { | ||
constructor(resource: any, environment: string, traversal?: any); | ||
|
||
isCurrent(): boolean; | ||
|
||
issued(): Date; | ||
|
||
validUntil(): Date; | ||
|
||
getIpAddress(): string; | ||
|
||
getIpAddressLocation(): string; | ||
|
||
getAccessTokenID(): string; | ||
|
||
getDevce(): any; | ||
} |