Skip to content

Commit

Permalink
Added the ExchangeToAltinnToken method in MaskinportenService to the …
Browse files Browse the repository at this point in the history
…IMaskinportenService interface. (#10)

Co-authored-by: Ronny Birkeli <ronny.birkeli@digdir.no>
  • Loading branch information
RonnyB71 and Ronny Birkeli authored Nov 1, 2022
1 parent 2ed6109 commit c74c512
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,10 @@ public interface IMaskinportenService
/// Generates a access token based on supplied definition containing settings and secrets.
/// </summary>
Task<TokenResponse> GetToken(IClientDefinition clientDefinition, bool disableCaching = false);

/// <summary>
/// Exchanges a Maskinporten access token to a Altinn token.
/// </summary>
Task<TokenResponse> ExchangeToAltinnToken(TokenResponse tokenResponse, string environment, string userName = null, string password = null, bool disableCaching = false, bool isTestOrg = false);
}
}

0 comments on commit c74c512

Please sign in to comment.