atproto_auth 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/examples/confidential_client/Gemfile.lock +1 -1
- data/lib/atproto_auth/client.rb +2 -1
- data/lib/atproto_auth/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 34848fb624a69ebaedbfaa4638d334e5d493ca0329659cb79ddeaaebb32080b3
|
|
4
|
+
data.tar.gz: 7daba6d6bcbd6b0bd3042d8001e923c1a389b29d3c70a59e80b45378a979ad12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2bf779a0a19495712be8bf24a98c6839cfffa875c048826265b7b6159a020c64e3b4b5e99b0ee4b17a0499a6433f364bc2af7c6468c21513577b2e4a43fee84
|
|
7
|
+
data.tar.gz: e586a0e6ecf2b3f2df3936ad50b24076da93a64149f118a14abb980735ea58e491aeb2d86df51a398434d4246f37f18ba38e61024776694e2745b62d3524f080
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.2.0] - 2024-12-10
|
|
8
|
+
### Added
|
|
9
|
+
- Client#handle_callback now returns session did as part of the response
|
|
10
|
+
|
|
7
11
|
## [0.1.0] - 2024-12-07
|
|
8
12
|
|
|
9
13
|
### Added
|
data/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://github.com/rubocop/rubocop)
|
|
5
5
|
[](https://www.rubydoc.info/gems/atproto_auth)
|
|
6
6
|
|
|
7
|
-
A Ruby implementation of the [AT Protocol OAuth specification](https://
|
|
7
|
+
A Ruby implementation of the [AT Protocol OAuth specification](https://atproto.com/specs/oauth). This library provides support for both client and server-side implementations, with built-in security features including [DPoP](https://datatracker.ietf.org/doc/html/rfc9449), [PAR](https://datatracker.ietf.org/doc/html/rfc9126), and dynamic client registration.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
data/lib/atproto_auth/client.rb
CHANGED
|
@@ -137,7 +137,8 @@ module AtprotoAuth
|
|
|
137
137
|
expires_in: (token_set.expires_at - Time.now).to_i,
|
|
138
138
|
refresh_token: token_set.refresh_token,
|
|
139
139
|
scope: token_set.scope,
|
|
140
|
-
session_id: session.session_id
|
|
140
|
+
session_id: session.session_id,
|
|
141
|
+
did: session.did
|
|
141
142
|
}
|
|
142
143
|
end
|
|
143
144
|
end
|
data/lib/atproto_auth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: atproto_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Huckabee
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-12-
|
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jose
|