clean up RemoteAuthService
This commit is contained in:
parent
3338243cea
commit
80b7f192f1
4 changed files with 17 additions and 25 deletions
|
@ -14,6 +14,8 @@
|
|||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
// ReSharper disable ClassNeverInstantiated.Local
|
||||
|
||||
namespace Foxnouns.Backend.Services.Auth;
|
||||
|
||||
public partial class RemoteAuthService
|
||||
|
@ -83,11 +85,6 @@ public partial class RemoteAuthService
|
|||
return new RemoteUser(blog.Uuid, blog.Name);
|
||||
}
|
||||
|
||||
private record OauthTokenResponse(
|
||||
[property: JsonPropertyName("access_token")] string AccessToken,
|
||||
[property: JsonPropertyName("token_type")] string TokenType
|
||||
);
|
||||
|
||||
// tumblr why
|
||||
private record TumblrData(
|
||||
[property: JsonPropertyName("meta")] TumblrMeta Meta,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue