File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
scribejava-apis/src/test/java/com/github/scribejava/apis/examples Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 44
55### Dead Simple
66
7- Who said OAuth/OAuth2 was difficult? Configuring scribe is __ so easy your grandma can do it__ ! check it out:
7+ Who said OAuth/OAuth2 was difficult? Configuring ScribeJava is __ so easy your grandma can do it__ ! check it out:
88
99``` java
1010OAuthService service = new ServiceBuilder ()
11- .provider(LinkedInApi . class)
1211 .apiKey(YOUR_API_KEY )
1312 .apiSecret(YOUR_API_SECRET )
14- .build();
13+ .build(LinkedInApi20 . instance() );
1514```
1615
17- That ** single line** (added newlines for readability) is the only thing you need to configure scribe with LinkedIn's OAuth API for example.
16+ That ** single line** (added newlines for readability) is the only thing you need to configure ScribeJava with LinkedIn's OAuth API for example.
1817
1918### Threadsafe
2019
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public static void main(String... args) {
3232 System .out .println ("Got the Request Token!" );
3333 System .out .println ();
3434
35- System .out .println ("Now go and authorize Scribe here:" );
35+ System .out .println ("Now go and authorize ScribeJava here:" );
3636 System .out .println (service .getAuthorizationUrl (requestToken ));
3737 System .out .println ("And paste the verifier here" );
3838 System .out .print (">>" );
You can’t perform that action at this time.
0 commit comments