java.lang.Object
net.odoframework.http.TokenAuthentication
- All Implemented Interfaces:
Credentials
public class TokenAuthentication extends Object implements Credentials
-
Field Summary
Fields inherited from interface net.odoframework.http.Credentials
DEFAULT_HEADER -
Constructor Summary
Constructors Constructor Description TokenAuthentication(String token) -
Method Summary
Modifier and Type Method Description Collection<Pair<String,String>>toHeader()
-
Constructor Details
-
TokenAuthentication
-
-
Method Details
-
toHeader
- Specified by:
toHeaderin interfaceCredentials
-