Skip to content

Commit ff2fe7d

Browse files
authored
Update deleteByLogoutToken arg type in EXAMPLES.md
The arg type of deleteByLogoutToken has sid and sub as optional strings. ``` export type LogoutToken = { sub?: string; sid?: string; }; ```
1 parent dbfd502 commit ff2fe7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EXAMPLES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ export const auth0 = new Auth0Client({
644644
async delete(id) {
645645
// delete the session using its ID
646646
},
647-
async deleteByLogoutToken({ sid, sub }: { sid: string; sub: string }) {
647+
async deleteByLogoutToken({ sid, sub }: { sid?: string; sub?: string }) {
648648
// optional method to be implemented when using Back-Channel Logout
649649
},
650650
},

0 commit comments

Comments
 (0)