Skip to content

Add information regarding Authentication to the readme. #38

Description

@brokenprogrammer

When authenticating towards the fortnox api you first get an authorization code which you then have to turn into an access token before you can use the api.

We have support for this within the SDK but it is not yet documented within our readme.

The service: AuthorizationService.cs have a method called GetAccessTokenAsync which is pretty self explanatory.
Example usage:

var accessToken = (await AuthorizationService.GetAccessTokenAsync(authorizationCode, clientSecret)).Authorization.AccessToken;

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions