-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
133 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
package de.uni_jena.thunibib.his; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class Token { | ||
|
||
String access_token; | ||
String scope; | ||
String token_type; | ||
String expires_in; | ||
|
||
public Token() { | ||
} | ||
|
||
@JsonProperty("access_token") | ||
public String getAccessToken() { | ||
return access_token; | ||
} | ||
|
||
public void setAccessToken(String access_token) { | ||
this.access_token = access_token; | ||
} | ||
|
||
@JsonProperty("scope") | ||
public String getScope() { | ||
return scope; | ||
} | ||
|
||
public void setScope(String scope) { | ||
this.scope = scope; | ||
} | ||
|
||
@JsonProperty("expires_in") | ||
public String getExpiresIn() { | ||
return expires_in; | ||
} | ||
|
||
public void setExpiresIn(String expires_in) { | ||
this.expires_in = expires_in; | ||
} | ||
|
||
@JsonProperty("token_type") | ||
public String getTokenType() { | ||
return token_type; | ||
} | ||
|
||
public void setTokenType(String token_type) { | ||
this.token_type = token_type; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters