OAuthSession.this

oauth must already carry the canonical resource. token is the initial (possibly empty) stored token for resource.

  1. this(OAuthClient oauth, AuthorizationServerMetadata as_, RegisteredClient client, TokenStore store, string resource, StoredToken token)
  2. this(string resource, StoredToken token, TokenStore store, TokenSet delegate(string refreshToken) @(safe) refreshFn)