public Future < DeviceCode > acquireDeviceCode ( final String clientId , final String resource , final AuthenticationCallback < DeviceCode > callback ) { validateDeviceCodeRequestInput ( clientId , resource ) ; return service . submit ( new AcquireDeviceCodeCallable ( this , clientId , resource , callback ) ) ; }
Acquires a device code from the authority