AppsV1Service class abstract
Constructors
- AppsV1Service({required String instance, required ClientContext context})
-
Returns the new instance of AppsV1Service.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createApplication(
{required String clientName, String redirectUri = 'urn:ietf:wg:oauth:2.0:oob', List< Scope> ? scopes, String? websiteUrl}) → Future<MastodonResponse< RegisteredApplication> > - Create a new application to obtain OAuth2 credentials.
-
createNewConfirmationEmail(
{required String email}) → Future< MastodonResponse< Empty> > - Request a new confirmation email, potentially to a new email address.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
verifyApplicationCredentials(
{required String bearerToken}) → Future< MastodonResponse< Application> > - Confirm that the app’s OAuth2 credentials work.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited