@Test public void smartcarAuth_launchAuthFlow() { Context context = mock(Context.class); SmartcarAuth smartcarAuth = new SmartcarAuth( "client123", "scclient123: new String[] {"read_odometer", "read_vin"}, null ); smartcarAuth.launchAuthFlow(context); }
public void launchAuthFlow(final Context context) { launchAuthFlow(context, (new AuthUrlBuilder()).build()); }
SmartcarAuth { public void launchAuthFlow(final Context context) { launchAuthFlow(context, (new AuthUrlBuilder()).build()); } }
SmartcarAuth { public void launchAuthFlow(final Context context) { launchAuthFlow(context, (new AuthUrlBuilder()).build()); } SmartcarAuth(String clientId, String redirectUri, String[] scope,
                        SmartcarCallback callback);  SmartcarAuth(String clientId, String redirectUri, String[] scope, boolean testMode,
                        SmartcarCallback callback); }
SmartcarAuth { public void launchAuthFlow(final Context context) { launchAuthFlow(context, (new AuthUrlBuilder()).build()); } SmartcarAuth(String clientId, String redirectUri, String[] scope,
                        SmartcarCallback callback);  SmartcarAuth(String clientId, String redirectUri, String[] scope, boolean testMode,
                        SmartcarCallback callback); AuthUrlBuilder authUrlBuilder(); void addClickHandler(final Context context, final View view); void addClickHandler(final Context context, final View view, final String authUrl); void launchAuthFlow(final Context context); void launchAuthFlow(final Context context, final String authUrl); }
SmartcarAuth { public void launchAuthFlow(final Context context) { launchAuthFlow(context, (new AuthUrlBuilder()).build()); } SmartcarAuth(String clientId, String redirectUri, String[] scope,
                        SmartcarCallback callback);  SmartcarAuth(String clientId, String redirectUri, String[] scope, boolean testMode,
                        SmartcarCallback callback); AuthUrlBuilder authUrlBuilder(); void addClickHandler(final Context context, final View view); void addClickHandler(final Context context, final View view, final String authUrl); void launchAuthFlow(final Context context); void launchAuthFlow(final Context context, final String authUrl);  }