svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.downloader / org.gvsig.downloader.lib / org.gvsig.downloader.lib.api / src / main / java / org / gvsig / downloader / DownloaderCredentials.java @ 47845
History | View | Annotate | Download (674 Bytes)
1 | 47821 | jjdelcerro | /*
|
---|---|---|---|
2 | * To change this license header, choose License Headers in Project Properties.
|
||
3 | * To change this template file, choose Tools | Templates
|
||
4 | * and open the template in the editor.
|
||
5 | */
|
||
6 | package org.gvsig.downloader; |
||
7 | |||
8 | /**
|
||
9 | *
|
||
10 | * @author jjdelcerro
|
||
11 | */
|
||
12 | public interface DownloaderCredentials { |
||
13 | |||
14 | public String getProviderName(); |
||
15 | |||
16 | public String getAuthorizationToken(); |
||
17 | |||
18 | 47828 | jjdelcerro | public String getServiceUrl(); |
19 | 47821 | jjdelcerro | |
20 | public String getUserid(); |
||
21 | 47837 | fdiaz | |
22 | public boolean isAuthorizationTokenExpired(); |
||
23 | |||
24 | 47845 | fdiaz | public DownloaderCredentials createCredentials(String serviceUrl); |
25 | |||
26 | public DownloaderCredentials createCredentials(DownloaderAuthenticationConfig config);
|
||
27 | |||
28 | 47821 | jjdelcerro | } |