Added
- The
example-oauthprovider package: a vendor-neutral example of theoauth2_authorization_codeauth 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 anoauth2_authorization_codeaccount once (pasted redirect URL,--listenor--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_codeauth type. - The
oauth2_authorization_codeauth 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 passestapyr provider lint --catalogas written, withTODOcomments on what to replace.