You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
tapyr version --output json prints the version, the revision, the Go version and the platform as JSON, for scripts and bug reports.
The example-oauth provider package: a vendor-neutral example of the oauth2_authorization_code auth type, served by the simulator, the reference for packages of APIs that use the OAuth 2.0 authorization code flow.
tapyr auth login <account> runs the consent of an oauth2_authorization_code account once (pasted redirect URL, --listen or --device) and writes its refresh token to a file, never to the screen; the status API names the command when an account needs a new consent.
The simulator serves the OAuth 2.0 authorization code flow (authorize, token and device authorization endpoints, PKCE, rotating refresh tokens) for packages with the oauth2_authorization_code auth type.
The oauth2_authorization_code auth type renews access tokens from a refresh token, rotated or not, for APIs that use the OAuth 2.0 authorization code flow, starting from a refresh token given as an account secret (ADR 0016).
tapyr provider new <name> writes the skeleton of a provider package (one template, a simulator with its scenarios, a contract test, an example, a dashboard and a README) that passes tapyr provider lint --catalog as written, with TODO comments on what to replace.