Skip to content

Commit

Permalink
oauth: bugfix scope
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp committed Apr 5, 2024
1 parent a94b8d3 commit 4d419ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/oauth2/cl_oauth2_client.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ CLASS cl_oauth2_client DEFINITION PUBLIC.
PRIVATE SECTION.
DATA mo_config_writer_api TYPE REF TO cl_oa2c_config_writer_api.
DATA mv_token TYPE string.
DATA mv_scope TYPE string.
DATA mv_scope TYPE string.
ENDCLASS.

CLASS cl_oauth2_client IMPLEMENTATION.
Expand All @@ -29,6 +29,7 @@ CLASS cl_oauth2_client IMPLEMENTATION.

CREATE OBJECT lo_client.
lo_client->mo_config_writer_api = cl_oa2c_config_writer_api=>load( i_configuration ).
lo_client->mv_scope = lv_scope.

ro_oauth2_client ?= lo_client.

Expand Down

0 comments on commit 4d419ac

Please sign in to comment.