Sha256: d588a3fbdb3aeda4a715c475f1e9bf5fa176270d11dd334fc7d76f5e5d06e168

Contents?: true

Size: 626 Bytes

Versions: 2

Compression:

Stored size: 626 Bytes

Contents

package <%= base_package%>.modules.authentication.model {
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.proxy.FabricationProxy;	
	import <%= base_package%>.common.<%= name%>Constants;
	
	public class AuthenticationProxy extends FabricationProxy {

		static public const NAME:String = "AuthenticationProxy";
	
		
		public function AuthenticationProxy(name:String = NAME) {
			super(name);
		}
		
		
		public function signIn(username:String, password:String):void {
			trace("signing in with username "+username);
			routeNotification(<%= name%>Constants.VALID_LOGIN, username, "securityToken","*");
		}
	}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fabricator-0.0.1 app_generators/pureapp/templates/modules/authentication/model/authentication_proxy.as
fabricator-0.0.5 app_generators/pureapp/templates/modules/authentication/model/authentication_proxy.as