Deprecated: This package has been deprecated. Use session infrastructure
(Session
and SessionManager
) provided by Jaguar.
createSession
createSession
, updateSession
and deleteSession
updateResponse
to writeResponse
Add this to your package's pubspec.yaml file:
dependencies:
jaguar_session: "^0.10.0"
You can install packages from the command line:
with pub:
$ pub get
with Flutter:
$ flutter packages get
Alternatively, your editor might support pub get
or packages get
.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:jaguar_session/jaguar_session.dart';
Version | Uploaded | Documentation | Archive |
---|---|---|---|
0.10.0 | Nov 4, 2017 |
|
|
0.9.1 | Jul 21, 2017 |
|
|
0.9.0 | Jul 16, 2017 |
|
|
0.8.1 | Jul 9, 2017 |
|
|
0.8.0 | Jul 3, 2017 |
|
|
0.7.1 | Jun 18, 2017 |
|
|
0.7.0 | Jun 18, 2017 |
|
|
0.6.1 | Jun 17, 2017 |
|
|
0.6.0 | Jun 17, 2017 |
|
|
0.5.4 | Jun 5, 2017 |
|
|
We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
0 | / 100 |
Health:
Code health derived from static analysis.
[more]
|
83 | / 100 |
Maintenance:
Reflects how tidy and up-to-date the package is.
[more]
|
99 | / 100 |
Overall score:
Weighted score of the above.
[more]
|
45 |
Detected platforms: Flutter, other
Primary library:
package:jaguar_session/jaguar_session.dart
with components:io
.
Fix analysis and formatting issues.
Analysis or formatting checks reported 2 errors.
Strong-mode analysis of
lib/src/auth_header.dart
failed with the following error:line: 36 col: 56
The argument type 'Session' can't be assigned to the parameter type 'Map<String, String>'.Strong-mode analysis of
lib/src/cookie.dart
failed with the following error:line: 31 col: 51
The argument type 'Session' can't be assigned to the parameter type 'Map<String, String>'.
Fix .analysis_options
.
We were unable to parse
.analysis_options
.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*
, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
None of the files in your
example/
directory matches a known example patterns. Common file name patterns include:main.dart
,example.dart
or you could also usejaguar_session.dart
.
Use analysis_options.yaml
.
Rename old
.analysis_options
file toanalysis_options.yaml
.
Enable strong mode analysis.
Strong mode helps you to detect bugs and potential issues earlier.Start your
analysis_options.yaml
file with the following:analyzer: strong-mode: true
Package | Constraint | Resolved | Available |
---|---|---|---|
Direct dependencies | |||
Dart SDK | >=1.22.0 <2.0.0 | ||
auth_header | ^0.0.2 | 0.0.3 | |
jaguar | ^0.6.16 | 0.6.29 | 1.3.11 |
jaguar_jwt | ^0.3.4 | 0.3.9 | 1.1.5 |
Transitive dependencies | |||
args | 1.2.0 | 1.4.2 | |
charcode | 1.1.1 | ||
collection | 1.14.9 | ||
convert | 2.0.1 | ||
crypto | 2.0.2+1 | ||
dice | 1.8.0 | ||
http_server | 0.9.7 | ||
intl | 0.15.6 | ||
logging | 0.11.3+1 | ||
meta | 1.1.2 | ||
mime | 0.9.6 | ||
mustache | 0.2.5+1 | 1.0.0 | |
path | 1.5.1 | ||
quiver_hashcode | 1.0.0 | ||
source_span | 1.4.0 | ||
stack_trace | 1.9.2 | ||
string_scanner | 1.0.2 | ||
typed_data | 1.1.5 | ||
yaml | 2.1.13 | ||
Dev dependencies | |||
http | ^0.11.3 | ||
jaguar_auth | ^0.11.1 | ||
jaguar_client | ^0.2.0 | ||
jaguar_common | ^0.2.1 | ||
jaguar_json | ^0.2.0 | ||
jaguar_serializer | ^0.5.0 | ||
test | >=0.12.0 <0.13.0 |