File tree Expand file tree Collapse file tree 11 files changed +14
-42
lines changed
google-oauth-client-servlet/src/main/java/com/google/api/client/extensions/servlet/auth
google-oauth-client/src/main/java/com/google/api/client/auth
samples/dailymotion-cmdline-sample/src/main/java/com/google/api/services/samples/dailymotion/cmdline Expand file tree Collapse file tree 11 files changed +14
-42
lines changed Original file line number Diff line number Diff line change @@ -99,19 +99,13 @@ protected final HttpTransport getHttpTransport() {
99
99
*/
100
100
protected abstract PersistenceManagerFactory getPersistenceManagerFactory ();
101
101
102
- /**
103
- * @return Specific ThreeLeggedFlow type that this callback should retreieve and complete.
104
- */
102
+ /** @return Specific ThreeLeggedFlow type that this callback should retreieve and complete. */
105
103
protected abstract Class <? extends ThreeLeggedFlow > getConcreteFlowType ();
106
104
107
- /**
108
- * @return Url to redirect the user to upon a successful credential exchange.
109
- */
105
+ /** @return Url to redirect the user to upon a successful credential exchange. */
110
106
protected abstract String getSuccessRedirectUrl ();
111
107
112
- /**
113
- * @return Url to redirect the user to upon failure.
114
- */
108
+ /** @return Url to redirect the user to upon failure. */
115
109
protected abstract String getDeniedRedirectUrl ();
116
110
117
111
/**
Original file line number Diff line number Diff line change @@ -50,9 +50,7 @@ public abstract class AbstractOAuthGetToken extends GenericUrl {
50
50
/** {@code true} for POST request or the default {@code false} for GET request. */
51
51
protected boolean usePost ;
52
52
53
- /**
54
- * @param authorizationServerUrl encoded authorization server URL
55
- */
53
+ /** @param authorizationServerUrl encoded authorization server URL */
56
54
protected AbstractOAuthGetToken (String authorizationServerUrl ) {
57
55
super (authorizationServerUrl );
58
56
}
Original file line number Diff line number Diff line change @@ -43,9 +43,7 @@ public class OAuthAuthorizeTemporaryTokenUrl extends GenericUrl {
43
43
@ Key ("oauth_token" )
44
44
public String temporaryToken ;
45
45
46
- /**
47
- * @param encodedUserAuthorizationUrl encoded user authorization URL
48
- */
46
+ /** @param encodedUserAuthorizationUrl encoded user authorization URL */
49
47
public OAuthAuthorizeTemporaryTokenUrl (String encodedUserAuthorizationUrl ) {
50
48
super (encodedUserAuthorizationUrl );
51
49
}
Original file line number Diff line number Diff line change @@ -43,9 +43,7 @@ public class OAuthGetAccessToken extends AbstractOAuthGetToken {
43
43
*/
44
44
public String verifier ;
45
45
46
- /**
47
- * @param authorizationServerUrl encoded authorization server URL
48
- */
46
+ /** @param authorizationServerUrl encoded authorization server URL */
49
47
public OAuthGetAccessToken (String authorizationServerUrl ) {
50
48
super (authorizationServerUrl );
51
49
}
Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ public class OAuthGetTemporaryToken extends AbstractOAuthGetToken {
38
38
*/
39
39
public String callback ;
40
40
41
- /**
42
- * @param authorizationServerUrl encoded authorization server URL
43
- */
41
+ /** @param authorizationServerUrl encoded authorization server URL */
44
42
public OAuthGetTemporaryToken (String authorizationServerUrl ) {
45
43
super (authorizationServerUrl );
46
44
}
Original file line number Diff line number Diff line change @@ -83,9 +83,7 @@ public class AuthorizationCodeResponseUrl extends GenericUrl {
83
83
@ Key ("error_uri" )
84
84
private String errorUri ;
85
85
86
- /**
87
- * @param encodedResponseUrl encoded authorization code response URL
88
- */
86
+ /** @param encodedResponseUrl encoded authorization code response URL */
89
87
public AuthorizationCodeResponseUrl (String encodedResponseUrl ) {
90
88
super (encodedResponseUrl );
91
89
// either error or code but not both
Original file line number Diff line number Diff line change @@ -55,9 +55,7 @@ public final class StoredCredential implements Serializable {
55
55
56
56
public StoredCredential () {}
57
57
58
- /**
59
- * @param credential existing credential to copy from
60
- */
58
+ /** @param credential existing credential to copy from */
61
59
public StoredCredential (Credential credential ) {
62
60
setAccessToken (credential .getAccessToken ());
63
61
setRefreshToken (credential .getRefreshToken ());
Original file line number Diff line number Diff line change @@ -74,9 +74,7 @@ public IdTokenVerifier() {
74
74
this (new Builder ());
75
75
}
76
76
77
- /**
78
- * @param builder builder
79
- */
77
+ /** @param builder builder */
80
78
protected IdTokenVerifier (Builder builder ) {
81
79
clock = builder .clock ;
82
80
acceptableTimeSkewSeconds = builder .acceptableTimeSkewSeconds ;
Original file line number Diff line number Diff line change @@ -30,16 +30,12 @@ public DailyMotionUrl(String encodedUrl) {
30
30
super (encodedUrl );
31
31
}
32
32
33
- /**
34
- * @return the fields
35
- */
33
+ /** @return the fields */
36
34
public String getFields () {
37
35
return fields ;
38
36
}
39
37
40
- /**
41
- * @param fields the fields to set
42
- */
38
+ /** @param fields the fields to set */
43
39
public void setFields (String fields ) {
44
40
this .fields = fields ;
45
41
}
Original file line number Diff line number Diff line change 17
17
import com .google .api .client .util .Key ;
18
18
import java .util .List ;
19
19
20
- /**
21
- * @author Yaniv Inbar
22
- */
20
+ /** @author Yaniv Inbar */
23
21
public class Video {
24
22
25
23
@ Key public String id ;
Original file line number Diff line number Diff line change 17
17
import com .google .api .client .util .Key ;
18
18
import java .util .List ;
19
19
20
- /**
21
- * @author Yaniv Inbar
22
- */
20
+ /** @author Yaniv Inbar */
23
21
public class VideoFeed {
24
22
25
23
@ Key public List <Video > list ;
You can’t perform that action at this time.
0 commit comments