Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Commit 62bdbb5

Browse files
committed
- updates getting started for new authentication provider
1 parent 25eca5f commit 62bdbb5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ For an example of how to get an authentication provider, see [choose a Microsoft
2828
2929
```Ruby
3030
require "microsoft_kiota_authentication_oauth"
31+
require "microsoft_graph_core"
3132

3233
context = MicrosoftKiotaAuthenticationOauth::ClientCredentialContext.new("<the tenant id from your app registration>", "<the client id from your app registration>", "<the client secret from your app registration>")
3334

34-
authentication_provider = MicrosoftKiotaAuthenticationOauth::OAuthAuthenticationProvider.new(context, nil, ["Files.Read"])
35+
authentication_provider = MicrosoftGraphCore::Authentication::OAuthAuthenticationProvider.new(context, nil, ["Files.Read"])
3536
```
3637

3738
### 2.3 Get a Graph Service Client and Adapter object

0 commit comments

Comments
 (0)