Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose jwt package #62

Merged
merged 8 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/pharaoh/lib/src/http/response.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ abstract interface class $Response {

Response status(int code);

/// [data] should be json-encodable
Response json(Object? data);

Response ok([String? data]);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:dart_jsonwebtoken/dart_jsonwebtoken.dart';
import 'package:pharaoh/pharaoh.dart';
import 'package:pharaoh_jwt_auth/pharaoh_jwt_auth.dart';

Expand Down
2 changes: 1 addition & 1 deletion packages/pharaoh_jwt_auth/lib/pharaoh_jwt_auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ library;

export 'src/pharaoh_jwt_auth_base.dart';

// TODO: Export any libraries intended for clients of this package.
export 'package:dart_jsonwebtoken/dart_jsonwebtoken.dart';
1 change: 0 additions & 1 deletion packages/pharaoh_jwt_auth/test/pharaoh_jwt_auth_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'dart:convert';

import 'package:dart_jsonwebtoken/dart_jsonwebtoken.dart';
import 'package:pharaoh/pharaoh.dart';
import 'package:pharaoh_jwt_auth/pharaoh_jwt_auth.dart';
import 'package:spookie/spookie.dart';
Expand Down