Skip to content

Commit

Permalink
Response record fields can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
plux-kivra committed Nov 6, 2017
1 parent 75f62a6 commit 7e0c7e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/oauth2_response.erl
Expand Up @@ -54,13 +54,13 @@

%%%_ * Types -----------------------------------------------------------
-record(response, {
access_token :: oauth2:token()
,access_code :: oauth2:token()
,expires_in :: oauth2:lifetime()
,resource_owner :: term()
,scope :: oauth2:scope()
,refresh_token :: oauth2:token()
,refresh_token_expires_in :: oauth2:lifetime()
access_token :: undefined | oauth2:token()
,access_code :: undefined | oauth2:token()
,expires_in :: undefined | oauth2:lifetime()
,resource_owner :: undefined | term()
,scope :: undefined | oauth2:scope()
,refresh_token :: undefined | oauth2:token()
,refresh_token_expires_in :: undefined | oauth2:lifetime()
,token_type = ?TOKEN_TYPE :: binary()
}).

Expand Down

0 comments on commit 7e0c7e4

Please sign in to comment.