Skip to content

Commit da65504

Browse files
committed
Add more examples for authentication, fix #57
1 parent 9a51245 commit da65504

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/config/FairDOConfig.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ export interface FairDOConfig {
9696

9797
/**
9898
* Specify connection options, like an Authorization header
99+
* @example
100+
* connectionOptions: {
101+
* headers: {
102+
* Authorization: `Bearer ${myToken}`
103+
* }
104+
* }
99105
*/
100106
connectionOptions?: {
101107
/**

0 commit comments

Comments
 (0)