Permalink
Browse files

Merge pull request #36 from synlay/feature/dialyzer_tweaks

Export types auth/0 and priv_set/0 for a better analyzing of backend implementations
  • Loading branch information...
bipthelin committed Jan 27, 2014
2 parents ff59c33 + 9cdf4d2 commit de40018686a6e9289e8f7d20efc44379cf437e8a
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/oauth2.erl
  2. +2 −0 src/oauth2_priv_set.erl
View
@@ -38,6 +38,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 de40018

Please sign in to comment.