dataContract property

  1. @override
AuthServerPluginDataContract get dataContract
override

Declares data and destructive routes owned by this plugin.

Implementation

@override
AuthServerPluginDataContract get dataContract =>
    const AuthServerPluginDataContract(
      authenticationMethodNamespace: authUsernamePluginId,
      removalEndpointIds: <String>['username.remove'],
    );