Laravel Forge JavaScript SDK

Credentials

Credentials

List all credentials

Method

forge.credentials.list()

Usage

1const forge = new Forge('API_TOKEN');
2
3const credentials = await forge.credentials.list();

Example Response

1{
2 "credentials": [
3 {
4 "id": 1,
5 "type": "ocean2",
6 "name": "Personal"
7 }
8 ]
9}

Edit this page on GitHub