public static DelegatedTokenCredentials fromFile ( File authFile , String redirectUrl ) throws IOException { return new DelegatedTokenCredentials ( ApplicationTokenCredentials . fromFile ( authFile ) , redirectUrl ) ; }
Creates a new instance of the DelegatedTokenCredentials from an auth file .