Skip to content

Commit

Permalink
feat(typescript): export auth utility types
Browse files Browse the repository at this point in the history
  • Loading branch information
krvital committed Oct 23, 2024
1 parent 9f99f69 commit 18f22a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/sdk/typescript/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,11 +566,11 @@ const resourceOwnerLogout =
auth.storage.set(undefined);
};

type BasicAuthorization = {
export type BasicAuthorization = {
method: "basic";
credentials: { username: string; password: string };
};
type ResourceOwnerAuthorization = {
export type ResourceOwnerAuthorization = {
method: "resource-owner";
client: { id: string; secret: string };
storage: TokenStorage;
Expand Down

0 comments on commit 18f22a3

Please sign in to comment.