Skip to content

Commit

Permalink
fix(pixelfed): make pixelfed login work again
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Aug 2, 2024
1 parent 2494918 commit 620cc94
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
package org.joinmastodon.android.model;

import org.joinmastodon.android.api.AllFieldsAreRequired;
import org.joinmastodon.android.api.RequiredField;

/**
* Represents an OAuth token used for authenticating with the API and performing actions.
*/
@AllFieldsAreRequired
public class Token extends BaseModel{
/**
* An OAuth token to be used for authorization.
*/
@RequiredField
public String accessToken;
/**
* The OAuth token type. Mastodon uses Bearer tokens.
Expand All @@ -23,5 +23,6 @@ public class Token extends BaseModel{
* When the token was generated.
* (unixtime)
*/
@RequiredField
public long createdAt;
}

0 comments on commit 620cc94

Please sign in to comment.