fix(pixelfed): make pixelfed login work again
This commit is contained in:
parent
2494918171
commit
620cc94351
|
@ -1,15 +1,15 @@
|
||||||
package org.joinmastodon.android.model;
|
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.
|
* Represents an OAuth token used for authenticating with the API and performing actions.
|
||||||
*/
|
*/
|
||||||
@AllFieldsAreRequired
|
|
||||||
public class Token extends BaseModel{
|
public class Token extends BaseModel{
|
||||||
/**
|
/**
|
||||||
* An OAuth token to be used for authorization.
|
* An OAuth token to be used for authorization.
|
||||||
*/
|
*/
|
||||||
|
@RequiredField
|
||||||
public String accessToken;
|
public String accessToken;
|
||||||
/**
|
/**
|
||||||
* The OAuth token type. Mastodon uses Bearer tokens.
|
* The OAuth token type. Mastodon uses Bearer tokens.
|
||||||
|
@ -23,5 +23,6 @@ public class Token extends BaseModel{
|
||||||
* When the token was generated.
|
* When the token was generated.
|
||||||
* (unixtime)
|
* (unixtime)
|
||||||
*/
|
*/
|
||||||
|
@RequiredField
|
||||||
public long createdAt;
|
public long createdAt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue