Permalink
Browse files

Export types auth/0 and priv_set/0 for a better analyzing of backend

implementations
  • Loading branch information...
1 parent 1b9bf32 commit 9cdf4d29d5db79af9da1aa98913722923f032959 @drobakowski drobakowski committed Jan 22, 2014
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/oauth2.erl
  2. +2 −0 src/oauth2_priv_set.erl
View
@@ -37,6 +37,7 @@
-export_type([token/0]).
-export_type([context/0]).
+-export_type([auth/0]).
-export_type([lifetime/0]).
-export_type([scope/0]).
-export_type([appctx/0]).
View
@@ -27,6 +27,8 @@
-export([is_subset/2]).
-export([is_member/2]).
+-export_type([priv_set/0]).
+
%%%_ * Types -----------------------------------------------------------
%% Invariant: Children are sorted increasingly by name.
-type priv_tree() :: {node, Name :: binary(), Children :: [priv_tree()]} | '*'.

0 comments on commit 9cdf4d2

Please sign in to comment.