GraphApi uses oauth access tokens. To call graph api you need to register your server application:
https://learn.microsoft.com/en-us/graph/auth-register-app-v2
Depending on the use case:
the blazor app can registered with a service account, and have its own access token and permission:
https://learn.microsoft.com/en-us/graph/auth-v2-service
the blazor app can be registered and use the users access token.
https://learn.microsoft.com/en-us/graph/auth-v2-user
sample using REST api rather than client sdk (but you can use the sdk)
https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-blazor-server.
note: when using Microsoft identity with blazor server, the authentication is done outside the blazor app by .net core middleware. the token will be stored in a cache. if on a webform, you will need a distributed cache.