Skip to content

Commit 3004802

Browse files
nasyrovthdxr
andauthored
refactor: export AuthorizationState for better reusability (#116)
* refactor: export `AuthorizationState` for better reusability Resolved #89 * Create few-boats-train.md --------- Co-authored-by: Dax <mail@thdxr.com>
1 parent bd942af commit 3004802

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/few-boats-train.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@openauthjs/openauth": patch
3+
---
4+
5+
refactor: export `AuthorizationState` for better reusability

packages/openauth/src/authorizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface OnSuccessResponder<
2323
): Promise<Response>
2424
}
2525

26-
interface AuthorizationState {
26+
export interface AuthorizationState {
2727
redirect_uri: string
2828
response_type: string
2929
state: string

0 commit comments

Comments
 (0)