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