summaryrefslogtreecommitdiffstats
path: root/src/org/uic/ticket/api/spec/IToken.java
blob: 5f381838dd553a7a9f6f4089406eec253c513eca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package org.uic.ticket.api.spec;


/**
 * The Interface IToken.
 * 
 * IToken specifies a unique token
 */
public interface IToken {
	
	/**
	 * Gets the token provider.
	 *
	 * @return the token provider
	 */
	public String getTokenProvider();
	
	/**
	 * Gets the token specification.
	 *
	 * @return the token specification
	 */
	public String getTokenSpecification();
	
	/**
	 * Gets the token.
	 *
	 * @return the token
	 */
	public byte[] getToken();
	
	/**
	 * Sets the token provider.
	 *
	 * @param provider the new token provider
	 */
	public void setTokenProvider(String provider);
	
	/**
	 * Sets the token specification.
	 *
	 * @param specification the new token specification
	 */
	public void setTokenSpecification(String specification);
	
	/**
	 * Sets the token.
	 *
	 * @param token the new token
	 */
	public void setToken(byte[] token);
}