Skip to content

Commit f399f71

Browse files
committed
add RFC urls to javadocs
1 parent 71f8539 commit f399f71

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

scribejava-core/src/main/java/com/github/scribejava/core/extractors/BaseStringExtractorImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
/**
1010
* Default implementation of {@link BaseStringExtractor}. Conforms to OAuth 1.0a
11+
* https://tools.ietf.org/html/rfc5849#section-3.4.1.1
1112
*/
1213
public class BaseStringExtractorImpl implements BaseStringExtractor {
1314

@@ -29,6 +30,9 @@ protected String getVerb(OAuthRequest request) {
2930
return request.getVerb().name();
3031
}
3132

33+
/**
34+
* https://tools.ietf.org/html/rfc5849#section-3.4.1.2
35+
*/
3236
protected String getUrl(OAuthRequest request) {
3337
return request.getSanitizedUrl();
3438
}

scribejava-core/src/main/java/com/github/scribejava/core/services/HMACSha1SignatureService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
/**
1313
* HMAC-SHA1 implementation of {@link SignatureService}
14+
* https://tools.ietf.org/html/rfc5849#section-3.4.2
1415
*/
1516
public class HMACSha1SignatureService implements SignatureService {
1617

scribejava-core/src/main/java/com/github/scribejava/core/services/SignatureService.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
/**
66
* Signs a base string, returning the OAuth signature
7+
* https://tools.ietf.org/html/rfc5849#section-3.4
78
*/
89
public interface SignatureService {
910
Base64.Encoder BASE_64_ENCODER = Base64.getEncoder();

0 commit comments

Comments
 (0)